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]
Other format: [Raw text]

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


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


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