>> The official definition is called the "ARM Procedure Calling Standard"
>> (APCS). 
>
>It is available from ARM-Limited's web-site at :
>
>http://www.arm.com/armwww.ns4/img/12-Technical+Specs-ARM+Thumb+Procedure+Call+
>Standard+PDF/$File/ATPCSA05.pdf?OpenElement

That's the ATPCS, not the APCS.  ATPCS is a newer standard incorporating 
elements from APCS, elements from TPCS and some new stuff.  GCC, and hence 
GNU/Linux, doesn't yet implement all of ATPCS, so you need to exercise some 
care if you use it as a reference.

>Does anybody know what R11 is used for if -fomit-frame-pointer is specified ?

Nothing.  Recent versions of GCC will use it as just another callee-save 
register in this situation but it looks like your compiler is too old for that.
You could try GCC 3.0.

p.


PGP signature

Reply via email to