This is the mail archive of the binutils@sourceware.org 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: objdump for old ARM7TDMI (ARMv4T) showing instructions for newer architectures?!


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



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