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: The mips assembler is broken.


On Fri, Sep 07, 2001 at 05:40:56PM -0700, H . J . Lu wrote:
> Configured for mipsel-linux with
> 
> # /home/hjl/work/linux/import/binutils/configure --host=i686-pc-linux-gnu --target=mipsel-linux --enable-targets=alpha-linux,arm-linux,cris-linux,hppa-linux,i386-linux,ia64-linux,m68k-linux,mips-linux,mips64-linux,mips64el-linux,mipsel-linux,ppc-linux,s390-linux,s390x-linux,sh-linux,sparc-linux,sparc64-linux 
> 
> I got
> 
> /export/build/gnu/binutils/build-mipsel-linux/gas/testsuite/../../binutils/objdump  -dr --prefix-addresses --show-raw-insn -mmips:mips32 dump.o > dump.out
> /export/build/gnu/binutils/build-mipsel-linux/gas/testsuite/../../binutils/objdump: Can't use supplied machine mips:mips32
> FAIL: MIPS MIPS32 instructions
> ...
> /export/build/gnu/binutils/build-mipsel-linux/gas/testsuite/../../binutils/objdump  -dr --prefix-addresses --show-raw-insn -mmips:mips64 dump.o > dump.out
> /export/build/gnu/binutils/build-mipsel-linux/gas/testsuite/../../binutils/objdump: Can't use supplied machine mips:mips64
> FAIL: MIPS MIPS64 instructions
> 
> 

I believe this patch:

2001-08-31  Eric Christopher  <echristo@redhat.com>
            Jason Eckhardt  <jle@redhat.com>

        * bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
        mips32_4k and mips64.
        * bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
        bfd_mach_mips64.  Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
        * bfd/cpu-mips.c: Ditto.

breaks the mips objdump. May I ask why we changed an existing command
line option? The old scripts like the one in the gas testsuite won't
work anymore.


H.J.


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