Fix sparc64 bits/setjmp.h namespace (bug 21261).
commit19641dbd61fe0440fa1f0ebd2f358b5ba98e839f
authorJoseph Myers <joseph@codesourcery.com>
Sat, 18 Mar 2017 00:17:25 +0000 (18 00:17 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Sat, 18 Mar 2017 00:17:25 +0000 (18 00:17 +0000)
treeda363499e8461a82f2c6875c87c0b1007bc58f2f
parent22b72f356d6dd6f394cc632d7fbef80490e9f4c4
Fix sparc64 bits/setjmp.h namespace (bug 21261).

sysdeps/unix/sysv/linux/sparc/bits/setjmp.h defines 64-bit __jmp_buf
with a load of identifiers that are not part of any standard
namespace, resulting in conform/ tests failing.  This patch fixes this
by moving those identifiers to the implementation namespace, so
enabling the conform/ tests to pass for sparc64.

Tested (compilation only) for sparc64 with build-many-glibcs.py.

[BZ #21261]
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
[__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
names for all fields.
* sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
for jmp_buf field renaming.
(_JMPBUF_UNWINDS_ADJ): Likewise.
ChangeLog
sysdeps/sparc/sparc64/jmpbuf-unwind.h
sysdeps/unix/sysv/linux/sparc/bits/setjmp.h