Saving to 32 bits of GPRs in signal context

Segher Boessenkool segher at kernel.crashing.org
Wed May 30 00:43:33 EST 2007


>> Just call them and trap the SEGV ;-)  You can check the
>> aux vector of course, or ask glibc -- but the SEGV way
>> is the only really portable way.  Strange world :-)
>
> shouldn't that be SIGILL?

Yes sir.  Although you can do it with segmentation
faults as well, I did mean SIGILL.

>> ILP32LL64.  The C "mode" stays the same, only the generated
>> machine insns are changed.
>
> right, as mentioned before, IP32L64 would imply introducing a new
> ABI, which we don't want.

Hey, you could hijack the mswindows ABI, no need to
define your own ;-)


Segher




More information about the Linuxppc-dev mailing list