as.exe 2.14 -mips3 with -n32 option gives Invalid bfd target
Ian Lance Taylor
ian@airs.com
Sat Aug 16 05:18:00 GMT 2003
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
More information about the Binutils
mailing list