olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1120490-int128.patch

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