diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-04-25 09:33:41 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-04-25 09:33:41 -0700 |
commit | 48332d822090e41253692053a00dfe224d3ebec0 (patch) | |
tree | a7a949b1bfde17a44c9f7ec62a30b9a098940a09 | |
parent | e5e0d9a4f632735cf3bb440eecb5caee5eea44c1 (diff) | |
download | glibc-48332d822090e41253692053a00dfe224d3ebec0.tar.gz glibc-48332d822090e41253692053a00dfe224d3ebec0.tar.xz glibc-48332d822090e41253692053a00dfe224d3ebec0.zip |
Replace __int128 with __int128_t in bits/link.h
__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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/x86/bits/link.h | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 0909d3be56..3ab4d4ab65 100644 --- 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 diff --git a/sysdeps/x86/bits/link.h b/sysdeps/x86/bits/link.h index 82522e5cc9..ebc5989c99 100644 --- a/sysdeps/x86/bits/link.h +++ b/sysdeps/x86/bits/link.h @@ -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; |