]> git.pld-linux.org Git - packages/glibc.git/blame - glibc-i686.patch
- add --enable-experimental-malloc (it is stable according to glibc devs (and will...
[packages/glibc.git] / glibc-i686.patch
CommitLineData
dd915f6f
AM
1--- glibc-2.11.1/sysdeps/unix/sysv/linux/i386/sysdep.h.org 2010-04-24 23:45:37.399887418 +0200
2+++ glibc-2.11.1/sysdeps/unix/sysv/linux/i386/sysdep.h 2010-04-24 23:58:08.906478499 +0200
3@@ -29,6 +29,10 @@
4 #include <dl-sysdep.h>
5 #include <tls.h>
d11fa1bd 6
dd915f6f
AM
7+#if defined __i686 && defined __ASSEMBLER__
8+#undef __i686
9+#define __i686 __i686
3fd9f6a7 10+#endif
8a5f5b44 11
dd915f6f
AM
12 /* For Linux we can use the system call table in the header file
13 /usr/include/asm/unistd.h
14--- glibc-2.11.1/nptl/sysdeps/pthread/pt-initfini.c~ 2009-12-08 21:10:20.000000000 +0100
15+++ glibc-2.11.1/nptl/sysdeps/pthread/pt-initfini.c 2010-04-24 23:57:28.626274985 +0200
16@@ -45,6 +45,11 @@
17 /* Embed an #include to pull in the alignment and .end directives. */
18 asm ("\n#include \"defs.h\"");
3fd9f6a7 19
dd915f6f
AM
20+asm ("\n#if defined __i686 && defined __ASSEMBLER__");
21+asm ("\n#undef __i686");
22+asm ("\n#define __i686 __i686");
23+asm ("\n#endif");
24+
25 /* The initial common code ends here. */
26 asm ("\n/*@HEADER_ENDS*/");
3fd9f6a7 27
This page took 0.062637 seconds and 4 git commands to generate.