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]
Other format: [Raw text]

Re: as.exe 2.14 -mips3 with -n32 option gives Invalid bfd target


Ken Faiczak <kfaiczak@sandvine.com> writes:

> seems the target for -32
> ie elf32-bigmips
> and for n32 is elf32-nbigmips which is not found
> 
> not sure how these are 
> generated  I assume SELECT_VECS is generated by the configure
> since otherwise I'd get them all..
> not sure where to change it yet but its in here somewhere

Hmmm, looks like you need to configure with
    --enable-targets=mips-sgi-irix6
or
    --enable-targets=mips-unknown-linux
in order to get -n32 support.

There is certainly a bug here.  Either the assembler should reject
-n32 with some coherent error message, or BFD for MIPS targets should
include support for the N32 MIPS targets by default.

Incidentally, there seems to be some duplication between elf32-mips.c
and elfn32-mips.c, which looks to me like a bad idea.  It's fairly
unlikely that any bug fixes would be made in both places.

Ian


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