summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/bits/setjmp.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-03 17:24:03 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-03 17:24:03 +0200
commitc0f118c8869b9095612dfcc4a279e957b67a8efa (patch)
tree67ae192b40c6e52c6b32de596f89c127b69fa22d /libc/sysdeps/linux/powerpc/bits/setjmp.h
parent493d0cc28b0d0fa1dc571ffc876b554376ccdd47 (diff)
ppc: cleanup unsupported ppc64 code
Remove ppc64 bits and bytes, as we don't support ppc64 and it makes the code more readable without the dead code.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/bits/setjmp.h')
-rw-r--r--libc/sysdeps/linux/powerpc/bits/setjmp.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/powerpc/bits/setjmp.h b/libc/sysdeps/linux/powerpc/bits/setjmp.h
index 46e8bf7d1..1cc1d836e 100644
--- a/libc/sysdeps/linux/powerpc/bits/setjmp.h
+++ b/libc/sysdeps/linux/powerpc/bits/setjmp.h
@@ -29,8 +29,6 @@
assembler easier. Naturally, user code should not depend on
either representation. */
-#include <bits/wordsize.h>
-
/* The current powerpc 32-bit Altivec ABI specifies for SVR4 ABI and EABI
the vrsave must be at byte 248 & v20 at byte 256. So we must pad this
correctly on 32 bit. It also insists that vecregs are only gauranteed
@@ -38,12 +36,9 @@
We have to version the code because members like int __mask_was_saved
in the jmp_buf will move as jmp_buf is now larger than 248 bytes. We
cannot keep the altivec jmp_buf backward compatible with the jmp_buf. */
-#if __WORDSIZE == 64
-typedef long int __jmp_buf[64] __attribute__ ((__aligned__ (16)));
-#else
+
/* The alignment is not essential, i.e.the buffer can be copied to a 4 byte
aligned buffer as per the ABI it is just added for performance reasons. */
typedef long int __jmp_buf[64 + (12 * 4)] __attribute__ ((__aligned__ (16)));
-#endif
#endif /* bits/setjmp.h */