Support x86-64 __jmp_buf with __WORDSIZE != 64

This commit is contained in:
H.J. Lu 2012-03-20 08:53:42 -07:00
parent c135cc1b5f
commit 114883e00a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
__WORDSIZE != 64.
2012-03-20 Joseph Myers <joseph@codesourcery.com>
* math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and

View File

@ -29,6 +29,8 @@
# if __WORDSIZE == 64
typedef long int __jmp_buf[8];
# elif defined __x86_64__
typedef long long int __jmp_buf[8];
# else
typedef int __jmp_buf[6];
# endif