On Sun, May 01, 2016 at 04:35:53PM -0400, Programmingkid wrote:
On May 1, 2016, at 4:18 PM, 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?
The ppc target is only 32 bits, and so it int. Did you want this code to work on ppc64?
The declaration is "long" (as it should be).
Segher