diff options
author | Kirill K. Smirnov <kirill.k.smirnov@gmail.com> | 2016-09-15 01:02:54 +0300 |
---|---|---|
committer | Kirill K. Smirnov <kirill.k.smirnov@gmail.com> | 2016-09-15 01:02:54 +0300 |
commit | 429b3e884662a3b9a72890aae23865501e66330f (patch) | |
tree | 5a307ec5f96e94a8212ce81ab8cce508951bbf36 /patches/glibc/2.6/130-i686-assembler.patch | |
parent | 1d28793575d43d908b665fa6665d1b90b37f0af0 (diff) | |
download | crosstool-ng-429b3e884662a3b9a72890aae23865501e66330f.tar.gz crosstool-ng-429b3e884662a3b9a72890aae23865501e66330f.tar.bz2 crosstool-ng-429b3e884662a3b9a72890aae23865501e66330f.zip |
patches: remove obsolete glibc patches
Glibc prior to 2.18, linuxthreads and ports are not supported.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Diffstat (limited to 'patches/glibc/2.6/130-i686-assembler.patch')
-rw-r--r-- | patches/glibc/2.6/130-i686-assembler.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/patches/glibc/2.6/130-i686-assembler.patch b/patches/glibc/2.6/130-i686-assembler.patch deleted file mode 100644 index 9904efbe..00000000 --- a/patches/glibc/2.6/130-i686-assembler.patch +++ /dev/null @@ -1,38 +0,0 @@ -2007-02-15 Khem Raj <kraj@xxxxxxxxxx> - - * sysdeps/unix/sysv/linux/i386/sysdep.h: Re-define __i686. - * nptl/sysdeps/pthread/pt-initfini.c: Ditto. - - - -Index: glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h -=================================================================== ---- glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h (revision 1469) -+++ glibc-2.4/sysdeps/unix/sysv/linux/i386/sysdep.h (working copy) -@@ -29,6 +29,10 @@ - #include <dl-sysdep.h> - #include <tls.h> - -+#if defined __i686 && defined __ASSEMBLER__ -+#undef __i686 -+#define __i686 __i686 -+#endif - - /* For Linux we can use the system call table in the header file - /usr/include/asm/unistd.h -Index: glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c -=================================================================== ---- glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c (revision 1469) -+++ glibc-2.4/nptl/sysdeps/pthread/pt-initfini.c (working copy) -@@ -45,6 +45,11 @@ - /* Embed an #include to pull in the alignment and .end directives. */ - asm ("\n#include \"defs.h\""); - -+asm ("\n#if defined __i686 && defined __ASSEMBLER__"); -+asm ("\n#undef __i686"); -+asm ("\n#define __i686 __i686"); -+asm ("\n#endif"); -+ - /* The initial common code ends here. */ - asm ("\n/*@HEADER_ENDS*/"); - |