This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
objdump and -z recommendation
- From: "Svein E. Seldal" <Svein dot Seldal at solidas dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 22 Oct 2002 22:10:30 +0200
- Subject: objdump and -z recommendation
Hi,
The tic4x target has a valid opcode which is encoded by 0x00000000.
Objdump is pr. default programmed to skip octets with all 0's in them,
which in reality refers to this (valid) instruction. It works properly
if you use the -z option.
As I can see there exists two solutions to this problem (for this target):
a) The -z options is enabled pr. default for this target. No!
b) Increase the value of SKIP_ZEROES to, say, 32. Now I persume it is
unwanted for me to add a #ifdef section to accomplish this for this
specific target in objdump.c. Are there any ways for me to pass this
define as an option on the commandline when compiling objdump.c or to
put it in a header somewhere. Any suggestions?
Svein