objdump and -z recommendation
Ben Elliston
bje@redhat.com
Tue Oct 22 15:23:00 GMT 2002
>>>>> "Svein" == Svein E Seldal <Svein.Seldal@solidas.com> writes:
Svein> b) Increase the value of SKIP_ZEROES to, say, 32. Now I
Svein> persume it is unwanted for me to add a #ifdef section to
Svein> accomplish this for this specific target in objdump.c. Are
Svein> there any ways for me to pass this define as an option on the
Svein> commandline when compiling objdump.c or to put it in a header
Svein> somewhere. Any suggestions?
The comment near #define SKIP_ZEROES says "The number is arbitrarily
chosen". Therefore, I think it would be reasonable to propose to
increase this to 32. Your architecture is not the first, and will not
be the last, to use an all-zero encoding for valid opcodes.
Ben
More information about the Binutils
mailing list