sh-coff-objdump cannot disassemble DSP instructions
Arati Dikey
AratiD@kpit.com
Fri Jan 11 09:25:00 GMT 2002
hi !
The sh-coff-objdump cannot disassemble DSP instructions
while the sh-elf-objdump does so. It simply interprets them as data
(.word)
After digging thru' the source code, I think that
this is because the assembler (sh-coff-as)
stores the bfd architecture as 'sh' and not 'sh-dsp' (arch =
bfd_arch_sh , machine = 0).
The 'static int sh_dsp' in tc-sh.c is set when -dsp option is given to
assembler.
How do I store this value in the bfd info ?
I have read the BFD manual but am still not sure
how and where to make modifications in the bfd backend.
Any help/guidance on this will be greatly appreciated.
Regards,
Arati Dikey
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download and free European support of GNU tool
chain (GNUSH v0101) for Hitachi's SH Series
Read more at http://www.kpit.com/products/support.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Binutils
mailing list