This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patches] Re: intel gas and `--32'
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: [patches] Re: intel gas and `--32'
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Fri, 12 Jan 2001 22:25:12 +1100 (EST)
- cc: Philip Blundell <philb at gnu dot org>, binutils at sources dot redhat dot com, patches at x86-64 dot org
On Fri, 12 Jan 2001, Jan Hubicka wrote:
> > + case OPTION_32:
> > + default_arch = "i386";
> > + break;
> It seems to me that this breaks x86_64 target - specifying --32 option
> will no longer make it to switch into elf32 format and if you build
Hmm? `default_arch = "i386"' will happen for all x86 targets, including
x86_64.
> gas w/o 32bit elf support --32 option will not produce error message.
That's true. I decided it was fairly harmless to silently accept --32, as
the 32 bit ix86 mode will always be available. If you feel strongly that
--32 should give an error, by all means change the code. I don't have a
strong opinion one way or the other, but my way meant less messing around
with the testsuite.
Alan Modra
--
Linuxcare. Support for the Revolution.