]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-i686.patch
- release 5
[packages/glibc.git] / glibc-i686.patch
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>
6  
7 +#if defined __i686 && defined __ASSEMBLER__
8 +#undef __i686
9 +#define __i686 __i686
10 +#endif
11  
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\"");
19  
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*/");
27  
This page took 0.027245 seconds and 3 git commands to generate.