Up until
2005-06-13 Mark Mitchell <[EMAIL PROTECTED]>
* config/i386/x86-64.h (ASM_SPEC): Explicitly pass --64 to the
assembler in 64-bit mode.
change -m64 -m32 used to work on x86_64 (I know it is quite fragile and
on many arches doesn't DTRT), but now as the asm spec has:
%{m32:--32} %{-m64:--64} we for both -m64 -m32 and -m32 -m64 end up with
--32 --64 being passed to the assembler (in that order).
Guess best would be to say in *.opt rather than RejectNegative what the
negative
of the option is (for m32 Negative(m64) and for m64 Negative(m32) or something
like that) and handle this in gcc.c/opts.c.
--
Summary: [4.1/4.2 regression] -m64 -m32 no longer creates 32-bit
object
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26885