This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] Add tst-jmp_buf.c and jmp_buf-macros.h
- From: Andreas Schwab <schwab at suse dot de>
- To: "H.J. Lu" <hongjiu dot lu at intel dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Wed, 08 Nov 2017 09:11:16 +0100
- Subject: Re: [PATCH 1/2] Add tst-jmp_buf.c and jmp_buf-macros.h
- Authentication-results: sourceware.org; auth=none
- References: <20171107223821.GA46190@intel.com>
On Nov 07 2017, "H.J. Lu" <hongjiu.lu@intel.com> wrote:
> Verify that sizes, alignments and field offsets of jmp_buf as well as
> sigjmp_buf are unchanged regardless how struct __jmp_buf_tag is defined.
> Since jmp_buf is target specific, jmp_buf-macros.h is added for each
> target. The new target must provides its own jmp_buf-macros.h.
>
> Tested with build-many-glibcs.py.
>
> OK for master?
>
> H.J.
> ---
> * setjmp/Makefile (tests): Add tst-jmp_buf.
> * setjmp/tst-jmp_buf.c: New file.
How about putting the tests in include/setjmp.h?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."