Jason Spencer <spencer8@xxxxxxxxxxxxx> writes: > I'm trying to chase a nasty bug in code generated by > GCC 2.7.2 on a Motorola PowerPC 603 core. I have to > understand the register usage conventions the compiler > uses, but I can't find that in any of the docs. > Specifically, I'm interested in things like which > register is the "this" pointer, which are used for > parameters, return values, etc. Is there an easily > accessible doc that goes through those details for my > architecture? See the "Function Calling Sequence" chapter in http://www.linuxbase.org/spec/ELF/ppc64/PPC-elf64abi-1.7.html The "this" pointer is normally treated as an invisible first argument. Ian