Support x86-64 __jmp_buf with __WORDSIZE != 64
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 20 Mar 2012 15:53:42 +0000 (08:53 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 20 Mar 2012 15:53:42 +0000 (08:53 -0700)
ChangeLog
sysdeps/x86_64/bits/setjmp.h

index fefa778..04d9d83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index a66ca0f..bb6920d 100644 (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