objdump and -z recommendation

Svein E. Seldal Svein.Seldal@solidas.com
Tue Oct 22 13:10:00 GMT 2002


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



More information about the Binutils mailing list