[Bug libc/411] gcc defines __i686 macro, causing problems in sysdeps/i386/elf/setjmp.S

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug libc/411] gcc defines __i686 macro, causing problems in sysdeps/i386/elf/setjmp.S

Martin.Jansa at gmail dot com

------- Additional Comments From Petr dot Salinger at seznam dot cz  2006-02-08 09:37 -------
> We don't pass -march=i686 or equivalent to gcc when used on assembler files.
> Unless you do something wrong (like adding the -march parameter to CC or so)
> there is no problem.

Even if -march is not passed, some predefined macros are used, depending on
compiler target.

Try something like:
touch a.S
gcc -dD a.S -E

Would be possible to use name i.e.
__i686_get_pc_thunk.reg instead of  __i686.get_pc_thunk.reg ?

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   GCC host triplet|i686-pc-liinux-gnu          |i686-pc-linux-gnu
         Resolution|WORKSFORME                  |


http://sourceware.org/bugzilla/show_bug.cgi?id=411

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.