This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

Re: sigaltstack setting and RT signal handlers


Paul Mackerras wrote:

> The reason I asked (about signal handlers changing the saved register
> image) is that I am about to add code to save and restore the altivec
> registers on signal delivery.  Since most processes don't use altivec
> instructions, and there are 512 bytes of altivec registers, I want to
> avoid saving and restoring the altivec registers for those processes
> that have never used altivec instructions.

If you don't introduce it, it cannot be used.


> Why would a signal handler need to change the sigaltstack setting?
> Can you give me an example?

People do strange things.  For every ABI change you have to expect that
it hits somebody.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]