PATCH: Check __x86_64__ instead of __WORDSIZE in bits/setjmp.h

H.J. Lu hjl.tools@gmail.com
Tue Mar 20 00:29:00 GMT 2012


On Mon, Mar 19, 2012 at 4:07 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> > We need to be very sure this cannot perturb anyone's ABI,
>> > e.g. mangled names and the like.
>> >
>> > I'm not aware of any such issue with __jmp_buf in particular, but
>> > we must be circumspect.
>
> The patch looks OK now as far as nits go.  But I want to let some other
> people give opinions about the safety vs name mangling et al.
>

How about this patch?  It defines

typedef long long int __jmp_buf[8];

only for x86-64 with __WORDSIZE != 64.

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libc-setjmp-2.patch
Type: text/x-patch
Size: 487 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120320/066993e0/attachment.bin>


More information about the Libc-alpha mailing list