On 01/05/16 21:18, Segher Boessenkool wrote:
On Sun, May 01, 2016 at 11:23:01AM +0100, Mark Cave-Ayland wrote:
unsigned int start_elf(unsigned long entry_point, unsigned long param);
@@ -609,7 +611,7 @@ go(void) feval("saved-program-state >sps.entry @"); addr = POP();
- call_elf(0, 0, addr);
- start_elf((unsigned int)addr, 0);
That should cast to unsigned long, instead?
Duh, yes. That's just a plain old bug.
ATB,
Mark.