This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
sh-coff-objdump cannot disassemble DSP instructions
- From: "Arati Dikey" <AratiD at kpit dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Fri, 11 Jan 2002 18:13:19 +0530
- Subject: sh-coff-objdump cannot disassemble DSP instructions
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~