diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-05-31 09:45:44 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-05-31 09:45:44 +0200 |
commit | 5c49e11c01b0baf4c2c54259e5ec06274251f0fa (patch) | |
tree | 6864e9b95f933ad22ae9a419464a832346df67fa /libpthread/nptl/sysdeps/pthread/pt-initfini.c | |
parent | 204c7849029d90e5e3486670a6a07a76f949afd6 (diff) |
NPTL: Fix CTOR_DTOR
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pt-initfini.c')
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/pt-initfini.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pt-initfini.c b/libpthread/nptl/sysdeps/pthread/pt-initfini.c index 1f81144d0..ccdce3e22 100644 --- a/libpthread/nptl/sysdeps/pthread/pt-initfini.c +++ b/libpthread/nptl/sysdeps/pthread/pt-initfini.c @@ -44,6 +44,10 @@ /* 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*/"); |