This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: OBJDUMP a bin file
- To: zhz at public1 dot sta dot net dot cn
- Subject: Re: OBJDUMP a bin file
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 22 Feb 2000 01:49:28 -0500
- CC: binutils at sourceware dot cygnus dot com
- References: <3.0.32.20000222144356.00730fac@public1.sta.net.cn>
Date: Tue, 22 Feb 2000 14:44:51 +0800
From: james <zhz@public1.sta.net.cn>
Hi,
I HAVE MADE A BIN FILE BY :
OBJCOPY -S -O binary xxx.o XXX.BIN
Can I disambler the BIN file with OBJDUMP ?
You should be able to. You will need to use `-b binary' to tell
objdump the format. You will need to use an appropriate -m option to
tell objdump the architecture. You will need to use -D to tell
objdump to disassemble all sections.
Ian