[patches] Re: intel gas and `--32'

Jan Hubicka jh@suse.cz
Fri Jan 12 09:24:00 GMT 2001


> 
> Hmm?  `default_arch = "i386"' will happen for all x86 targets, including
> x86_64.
I've already noticed that default_arch is enought - I tought the code
needs to switch target format as well, but I see it don't have to.
> 
> > 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.
Even when it is not current situation, in future we may want to build x86_64
systems without any 32bit code and since even currently you can disable elf32
format, I think we should give error.
I will do that later.

Honza
> 
> Alan Modra
> -- 
> Linuxcare.  Support for the Revolution.


More information about the Binutils mailing list