STACK_POINTER_REGNUM

Jeff Law law@redhat.com
Mon Oct 19 14:19:00 GMT 2015


On 10/18/2015 08:36 PM, htio2 wrote:
> Just want to know if the stack register of the targeted machine is consist of
> 2 registers, is there any other way to tell gcc ?
I don't think you need to.

Just describe the first to GCC and ignore the second entirely. 
Alternately describe both to GCC, one will be SP, the other would be a 
fixed register that would never be used by the compiler.

jeff



More information about the Gcc-help mailing list