Linux process ABI broken in 2.6?

Paul Mackerras paulus at samba.org
Fri Dec 9 14:16:03 EST 2005


Tjernlund writes:

> Secion 8.4.1 in
> http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-PPC32/LSB-Core-PPC32.html#PROCESSINITIALIZATION
> 
> says:
> "Contrary to what is stated in the Registers part of chapter 3 of the System V Application Binary Interface PowerPC Processor
> Supplement there are no values set in registers r3, r4, r5, r6 and r7. Instead the values specified to appear in all of those
> registers except r7 are placed on the stack. The value to be placed into register r7, the termination function pointer is not passed
> to the process."
> 
> How do one not pass a termination function in r7 other than setting
> r7 to zero?

"Not passed" means that there is no value provided in any register or
word of memory that should be taken to be the address of a termination
function.

Paul.



More information about the Linuxppc-dev mailing list