This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]