ce426f
Upstream patches to allow older compilers to use link.h:
ce426f
ce426f
commit 30477995dc8a680283b4d6e02039bca09de83cf9
ce426f
Author: Marko Myllynen <myllynen@redhat.com>
ce426f
Date:   Fri May 30 10:50:21 2014 -0700
ce426f
ce426f
    Replace __int128 with __int128_t
ce426f
    
ce426f
        * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
ce426f
        with __int128_t.
ce426f
ce426f
commit 48332d822090e41253692053a00dfe224d3ebec0
ce426f
Author: H.J. Lu <hjl.tools@gmail.com>
ce426f
Date:   Fri Apr 25 09:33:41 2014 -0700
ce426f
ce426f
    Replace __int128 with __int128_t in bits/link.h
ce426f
    
ce426f
    __int128 was added in GCC 4.6 and __int128_t was added before x86-64
ce426f
    was supported.  This patch replaces __int128 with __int128_t so that
ce426f
    the installed bits/link.h can be used with older GCC.
ce426f
    
ce426f
        * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
ce426f
        with __int128_t.
ce426f
        (La_x86_64_retval): Likewise.
ce426f
ce426f
diff -urN glibc-2.17-c758a686/sysdeps/x86/bits/link.h glibc-2.17-c758a686/sysdeps/x86/bits/link.h
ce426f
--- glibc-2.17-c758a686/sysdeps/x86/bits/link.h	2014-11-05 13:39:09.888988366 -0500
ce426f
+++ glibc-2.17-c758a686/sysdeps/x86/bits/link.h	2014-11-05 13:39:52.800863646 -0500
ce426f
@@ -94,7 +94,7 @@
ce426f
   La_x86_64_xmm lr_xmm[8];
ce426f
   La_x86_64_vector lr_vector[8];
ce426f
 #ifndef __ILP32__
ce426f
-  __int128 lr_bnd[4];
ce426f
+  __int128_t lr_bnd[4];
ce426f
 #endif
ce426f
 } La_x86_64_regs;
ce426f
 
ce426f
@@ -110,8 +110,8 @@
ce426f
   La_x86_64_vector lrv_vector0;
ce426f
   La_x86_64_vector lrv_vector1;
ce426f
 #ifndef __ILP32__
ce426f
-  __int128 lrv_bnd0;
ce426f
-  __int128 lrv_bnd1;
ce426f
+  __int128_t lrv_bnd0;
ce426f
+  __int128_t lrv_bnd1;
ce426f
 #endif
ce426f
 } La_x86_64_retval;
ce426f
 
ce426f
diff -urN glibc-2.17-c758a686/sysdeps/x86_64/link-defines.sym glibc-2.17-c758a686/sysdeps/x86_64/link-defines.sym
ce426f
--- glibc-2.17-c758a686/sysdeps/x86_64/link-defines.sym	2014-11-05 13:39:09.889988363 -0500
ce426f
+++ glibc-2.17-c758a686/sysdeps/x86_64/link-defines.sym	2014-11-05 13:39:52.800863646 -0500
ce426f
@@ -6,7 +6,7 @@
ce426f
 XMM_SIZE		sizeof (La_x86_64_xmm)
ce426f
 YMM_SIZE		sizeof (La_x86_64_ymm)
ce426f
 ZMM_SIZE		sizeof (La_x86_64_zmm)
ce426f
-BND_SIZE		sizeof (__int128)
ce426f
+BND_SIZE		sizeof (__int128_t)
ce426f
 
ce426f
 LR_SIZE			sizeof (struct La_x86_64_regs)
ce426f
 LR_RDX_OFFSET		offsetof (struct La_x86_64_regs, lr_rdx)