Saving errno around signal handlers

Richard Henderson rth@twiddle.net
Fri Feb 28 16:49:00 GMT 2014


On 02/28/2014 03:49 AM, Florian Weimer wrote:
> 
> In all cases (kernel and glibc implementation), we can use a tail call to make
> sure that the stack layout looks like it is at present (at least on
> architectures with an available callee-saved register), and we would not have
> to adjust GDB and other tools.

How's that?  A tail call would not be able to "restore" anything afterward.


r~



More information about the Libc-alpha mailing list