mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Undefine and redefine __i686 for assembly code.
This commit is contained in:
parent
314054eaef
commit
d4a54ac649
@ -1,3 +1,8 @@
|
||||
2012-02-06 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #411]
|
||||
* sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
|
||||
|
||||
2012-02-06 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/i386/sysdep.h: Include <features.h>.
|
||||
|
@ -23,7 +23,13 @@
|
||||
#include <features.h> /* For __GNUC_PREREQ. */
|
||||
|
||||
/* It is desirable that the names of PIC thunks match those used by
|
||||
GCC so that multiple copies are eliminated by the linker. */
|
||||
GCC so that multiple copies are eliminated by the linker. Because
|
||||
GCC 4.6 and earlier use __i686 in the names, it is necessary to
|
||||
override that predefined macro. */
|
||||
#if defined __i686 && defined __ASSEMBLER__
|
||||
#undef __i686
|
||||
#define __i686 __i686
|
||||
#endif
|
||||
|
||||
#ifdef __ASSEMBLER__
|
||||
# if __GNUC_PREREQ (4, 7)
|
||||
|
Loading…
Reference in New Issue
Block a user