objdump for old ARM7TDMI (ARMv4T) showing instructions for newer architectures?!

Dave Korn dave.korn.cygwin@googlemail.com
Wed Jun 17 15:34:00 GMT 2009


chris@seberino.org wrote:
> On Tue, Jun 16, 2009 at 05:30:50PM -0700, Ian Lance Taylor wrote:
>> The binutils snapshots do have ARM support.  There is no separate
>> multiarch version of the binutils.  What are you doing that makes you
>> think that the snapshots don't have ARM support?
> 
> Thanks for chiming in.  I did a standard build from source and then tried to do...
> 
> objdump -D --target=binary -m arm7tdmi foo
> 
> for some file foo and got this for the output...
> 
> 
> foo:     file format binary
> 
> ./objdump: Can't use supplied machine arm7tdmi
> 
> 
> (-m armv4t gave "./objdump: Can't use supplied machine armv4t")
> 
> These worked in Ubuntu's objdump when I installed what Ubuntu calls their multiarch version of
> binutils.
> 
> cs

  Sounds like Ubuntu configured their binutils with "--enable-targets=all";
you either need to do likewise, or build specific arm-targeted binutils.

    cheers,
      DaveK




More information about the Binutils mailing list