[arnm-elf-objdump] Can't use two -M flags for disassembler (-Mforce-thumb and -Mreg-names-raw)

Nick Clifton nickc@redhat.com
Fri Jul 11 14:35:00 GMT 2003


Hi Vincent,

> This may be very stupid but I am unable to use both flags
> -Mreg-names-raw and -Mforce-thumb at the same time (arm-elf-objdump)

Which version of binutils are you using ?

It appears to work for me (using the current CVS sources and the 2.14
release):

  % objdump -d mov.o
 
     0:   e1a0e00f        mov     lr, pc

  % objdump -d -Mreg-names-raw nop.o
 
     0:   e1a0e00f        mov     r14, r15

   % objdump -d -Mreg-names-raw -Mforce-thumb nop.o
 
     0:   e00f            b       22 <fred+0x22>
     2:   e1a0            b       346 <fred+0x346>
 
Cheers
        Nick



More information about the Binutils mailing list