[PATCH 3/3] zImage: Cleanup and improve zImage entry point

Paul Mackerras paulus at samba.org
Mon Feb 19 11:26:00 EST 2007


David Gibson writes:

> Err... isn't the called function responsible for setting up its own
> stack frame if necessary.  I thought all that was needed was for r1 to
> point to some free space.

The called function stores its return address in the caller's stack
frame.  So r1 does need to point to a stack frame.

Paul.



More information about the Linuxppc-dev mailing list