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]

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


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