This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Saving errno around signal handlers
- From: Richard Henderson <rth at twiddle dot net>
- To: Florian Weimer <fweimer at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 28 Feb 2014 08:49:09 -0800
- Subject: Re: Saving errno around signal handlers
- Authentication-results: sourceware.org; auth=none
- References: <531077D9 dot 2000308 at redhat dot com>
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~