]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Replace __int128 with __int128_t in bits/link.h
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 25 Apr 2014 16:33:41 +0000 (09:33 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 25 Apr 2014 16:33:41 +0000 (09:33 -0700)
__int128 was added in GCC 4.6 and __int128_t was added before x86-64
was supported.  This patch replaces __int128 with __int128_t so that
the installed bits/link.h can be used with older GCC.

* sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
with __int128_t.
(La_x86_64_retval): Likewise.

ChangeLog
sysdeps/x86/bits/link.h

index 0909d3be562a1975b6180062d56869aee7b77df9..3ab4d4ab65cc26bd05ca278cc3c7d3e336041fb6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
+       with __int128_t.
+       (La_x86_64_retval): Likewise.
+
 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
 
        * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
index 82522e5cc90e234ba8c8cf7a95a5cd9db4057809..ebc5989c99c8ad9dc7b5406e429cbc83b08a1ffe 100644 (file)
@@ -94,7 +94,7 @@ typedef struct La_x86_64_regs
   La_x86_64_xmm lr_xmm[8];
   La_x86_64_vector lr_vector[8];
 #ifndef __ILP32__
-  __int128 lr_bnd[4];
+  __int128_t lr_bnd[4];
 #endif
 } La_x86_64_regs;
 
@@ -110,8 +110,8 @@ typedef struct La_x86_64_retval
   La_x86_64_vector lrv_vector0;
   La_x86_64_vector lrv_vector1;
 #ifndef __ILP32__
-  __int128 lrv_bnd0;
-  __int128 lrv_bnd1;
+  __int128_t lrv_bnd0;
+  __int128_t lrv_bnd1;
 #endif
 } La_x86_64_retval;