[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r14908 - in /trunk/libc: ChangeLog.eglibc sysdeps/generic/initfini.c
- To: commits@xxxxxxxxxx
- Subject: [commits] r14908 - in /trunk/libc: ChangeLog.eglibc sysdeps/generic/initfini.c
- From: joseph@xxxxxxxxxx
- Date: Thu, 11 Aug 2011 15:22:58 -0000
Author: joseph
Date: Thu Aug 11 08:22:56 2011
New Revision: 14908
Log:
2011-08-11 Khem Raj <raj.khem@xxxxxxxxx>
* sysdeps/generic/initfini.c: Re-define __i686.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/sysdeps/generic/initfini.c
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Thu Aug 11 08:22:56 2011
@@ -1,3 +1,7 @@
+2011-08-11 Khem Raj <raj.khem@xxxxxxxxx>
+
+ * sysdeps/generic/initfini.c: Re-define __i686.
+
2011-07-25 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* configure.in (whether to use .ctors/.dtors header and trailer):
Modified: trunk/libc/sysdeps/generic/initfini.c
==============================================================================
--- trunk/libc/sysdeps/generic/initfini.c (original)
+++ trunk/libc/sysdeps/generic/initfini.c Thu Aug 11 08:22:56 2011
@@ -52,6 +52,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*/");