/ 2012-02-22 Carlos O'Donell [BZ #411] * sysdeps/unix/sysv/linux/i386/sysdep.h: Redefine __i686. ntpl/ 2012-04-22 Carlos O'Donell [BZ #411] * sysdeps/pthread/pt-initfini.c: Redefine __i686. diff --git a/NEWS b/NEWS index 55dba1b..9818c75 100644 --- a/NEWS +++ b/NEWS @@ -9,13 +9,13 @@ Version 2.15 * The following bugs are resolved with this release: - 6779, 6783, 9696, 10103, 10709, 11589, 12403, 12786, 12840, 12847, 12868, - 12852, 12874, 12885, 12892, 12906, 12907, 12922, 12935, 12962, 13007, - 13021, 13061, 13062, 13067, 13068, 13085, 13088, 13090, 13092, 13096, - 13114, 13118, 13123, 13134, 13138, 13147, 13150, 13166, 13179, 13185, - 13189, 13192, 13268, 13276, 13282, 13291, 13305, 13328, 13335, 13337, - 13344, 13358, 13367, 13413, 13416, 13423, 13439, 13446, 13472, 13484, - 13506, 13515, 13523, 13524, 13538, 13540 + 411, 6779, 6783, 9696, 10103, 10709, 11589, 12403, 12786, 12840, 12847, + 12868, 12852, 12874, 12885, 12892, 12906, 12907, 12922, 12935, 12962, + 13007, 13021, 13061, 13062, 13067, 13068, 13085, 13088, 13090, 13092, + 13096, 13114, 13118, 13123, 13134, 13138, 13147, 13150, 13166, 13179, + 13185, 13189, 13192, 13268, 13276, 13282, 13291, 13305, 13328, 13335, + 13337, 13344, 13358, 13367, 13413, 13416, 13423, 13439, 13446, 13472, + 13484, 13506, 13515, 13523, 13524, 13538, 13540 * New program pldd to list loaded object of a process Implemented by Ulrich Drepper. diff --git a/nptl/sysdeps/pthread/pt-initfini.c b/nptl/sysdeps/pthread/pt-initfini.c index 9c00dc0..f5d4df8 100644 --- a/nptl/sysdeps/pthread/pt-initfini.c +++ b/nptl/sysdeps/pthread/pt-initfini.c @@ -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*/"); diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h index 64ef400..726b1df 100644 --- a/sysdeps/unix/sysv/linux/i386/sysdep.h +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h @@ -29,6 +29,10 @@ #include #include +#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