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

Alan Modra alan@linuxcare.com.au
Fri Jan 12 03:25:00 GMT 2001


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.



More information about the Binutils mailing list