summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch')
-rw-r--r--meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch b/meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch
deleted file mode 100644
index 687235cfce..0000000000
--- a/meta/recipes-core/glibc/glibc-2.10.1/march-i686.patch
+++ /dev/null
@@ -1,39 +0,0 @@
12007-02-15 Khem Raj <kraj@xxxxxxxxxx>
2
3 * sysdeps/unix/sysv/linux/i386/sysdep.h: Re-define __i686.
4 * nptl/sysdeps/pthread/pt-initfini.c: Ditto.
5
6
7Upstream-Status: Inappropriate [not used]
8
9Index: sysdeps/unix/sysv/linux/i386/sysdep.h
10===================================================================
11--- sysdeps/unix/sysv/linux/i386/sysdep.h (revision 1469)
12+++ sysdeps/unix/sysv/linux/i386/sysdep.h (working copy)
13@@ -29,6 +29,10 @@
14 #include <dl-sysdep.h>
15 #include <tls.h>
16
17+#if defined __i686 && defined __ASSEMBLER__
18+#undef __i686
19+#define __i686 __i686
20+#endif
21
22 /* For Linux we can use the system call table in the header file
23 /usr/include/asm/unistd.h
24Index: nptl/sysdeps/pthread/pt-initfini.c
25===================================================================
26--- nptl/sysdeps/pthread/pt-initfini.c (revision 1469)
27+++ nptl/sysdeps/pthread/pt-initfini.c (working copy)
28@@ -45,6 +45,11 @@
29 /* Embed an #include to pull in the alignment and .end directives. */
30 asm ("\n#include \"defs.h\"");
31
32+asm ("\n#if defined __i686 && defined __ASSEMBLER__");
33+asm ("\n#undef __i686");
34+asm ("\n#define __i686 __i686");
35+asm ("\n#endif");
36+
37 /* The initial common code ends here. */
38 asm ("\n/*@HEADER_ENDS*/");
39