[PATCH 1/2] Add tst-jmp_buf.c and jmp_buf-macros.h

H.J. Lu hjl.tools@gmail.com
Wed Nov 8 18:25:00 GMT 2017


On Wed, Nov 8, 2017 at 12:11 AM, Andreas Schwab <schwab@suse.de> wrote:
> 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?
>

Here is the updated patch.  Tested with build-many-glibcs.py.

Any comments or objections?

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-jmp_buf-macros.h.patch
Type: text/x-patch
Size: 17632 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171108/cabd7caa/attachment.bin>


More information about the Libc-alpha mailing list