Saving to 32 bits of GPRs in signal context

Segher Boessenkool segher at kernel.crashing.org
Wed May 30 22:07:29 EST 2007


>> This prctl() is needed if you want to support DSOs containing
>> 64-bit insns.  It would be nice to have some ELF flag as well
>> though, so most of this can be handled automatically.
>
> Actually, it's the opposite... the prctl becomes a problem if you have
> libs wanting to use 64 bits for optims

The host application, or the dynamic loader, can call
the prctl() when it loads the DSO that needs it.

In almost all cases this should all be transparent
for the user IMHO, based on some ELF flag.


Segher




More information about the Linuxppc-dev mailing list