This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH v2] ARM: Add SystemTap probes to longjmp and setjmp.
- From: "Jonathan S. Shapiro" <shap at eros-os dot org>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Will Newton <will dot newton at linaro dot org>, Roland McGrath <roland at hack dot frob dot com>, "libc-ports at sourceware dot org" <libc-ports at sourceware dot org>, Patch Tracking <patches at linaro dot org>
- Date: Fri, 7 Feb 2014 07:45:39 -0800
- Subject: Re: [PATCH v2] ARM: Add SystemTap probes to longjmp and setjmp.
- Authentication-results: sourceware.org; auth=none
- References: <1391594162-22269-1-git-send-email-will dot newton at linaro dot org> <20140206221127 dot 6E28974443 at topped-with-meat dot com> <CANu=DmjAG8zxFOwWeJZuEFLXEcSTROVZsR1oRZc9qx=Zcn9T-w at mail dot gmail dot com> <8761orknyz dot fsf at igel dot home>
On Fri, Feb 7, 2014 at 6:16 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> According to ports/sysdeps/arm/bits/setjmp.h the layout of jmp_buf is
> part of the ABI.
Yes. The layout of jmp_buf is part of the ABI. And not just the libc ABI,
but for some platforms it's part of the platform standard (e.g. SVID
specifies it). In consequence, changing the structure layout isn't an
option in either the current libc release or any foreseeable future libc
release. The patch point needs to be reworked so as to operate given the
current structure layout.
On the bright side, reworking the code to fit the current layout means that
(a) this can be integrated sooner, and (b) we don't have to accept a small
regression in GDB functionality in order to implement encrypted pointers.
Jonathan