This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [arnm-elf-objdump] Can't use two -M flags for disassembler(-Mforce-thumb and -Mreg-names-raw)
- From: Nick Clifton <nickc at redhat dot com>
- To: Vincent Rubiolo <vincent dot rubiolo at st dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 11 Jul 2003 15:23:08 +0100
- Subject: Re: [arnm-elf-objdump] Can't use two -M flags for disassembler(-Mforce-thumb and -Mreg-names-raw)
- References: <3F0E3141.4060706@st.com>
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