diff options
author | Carlos O'Donell <carlos_odonell@mentor.com> | 2012-04-22 12:06:09 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos_odonell@mentor.com> | 2012-04-22 12:06:09 -0400 |
commit | 3836d4d661d718f455b0ea9300f41b1218682cc7 (patch) | |
tree | 7c3c51ef53611ccb08c67f67cd00aca605fe6912 /sysdeps | |
parent | a316c1f6823590fc6209e470c77d4cb44f4e2f50 (diff) | |
download | glibc-3836d4d661d718f455b0ea9300f41b1218682cc7.zip glibc-3836d4d661d718f455b0ea9300f41b1218682cc7.tar.gz glibc-3836d4d661d718f455b0ea9300f41b1218682cc7.tar.bz2 |
Redefine __i686 for use with older compilers.
This is a conservative fix for BZ #411 which is already fixed
on trunk. In this fix we don't touch any of the thunks or
do any other work other than to redefine the compiler define.
This is the minimum change required to build on a broader range
of distributions.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sysdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <dl-sysdep.h> #include <tls.h> +#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 |