This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On the ARM, why does setjmp preserve r12 (ip)? I believe r12 is caller-preserved, not callee-preserved.
I *think* that this is because GCC uses it as the static chain register for nested functions (when operating in ARM mode).
Would that even be legal?
Shouldn't the contents/layout of jmpbuf be specified by the ABI?
Or how would different implementations interoperate?
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |