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: Will Newton <will dot newton at linaro dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "libc-ports at sourceware dot org" <libc-ports at sourceware dot org>, Patch Tracking <patches at linaro dot org>
- Date: Fri, 7 Feb 2014 12:38:49 +0000
- 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>
On 6 February 2014 22:11, Roland McGrath <roland@hack.frob.com> wrote:
> Can you clarify why you want to change the jmp_buf layout?
> I don't see why any change you might want to make would necessitate that.
In order to have the correct registers live I need to free up a temp
register which involves loading lr and sp earlier than the
call-preserved register set. I could do this by offsetting into the
jmpbuf but it seems more natural just to move lr and sp to the front
of the jmp_buf and load registers in ascending order. As far as I am
aware the layout of jmp_buf is completely opaque so I don't see why
this would cause any problems?
--
Will Newton
Toolchain Working Group, Linaro