sh-coff-objdump cannot disassemble DSP instructions
Joern Rennecke
joern.rennecke@superh.com
Fri Jun 14 09:11:00 GMT 2002
Arati Dikey wrote:
>
> hi !
>
> The sh-coff-objdump cannot disassemble DSP instructions
> while the sh-elf-objdump does so. It simply interprets them as data
> (.word)
sh-elf stores the 'mach'(ine) information in the elf flags. We have
no matching mechanism in place for sh-coff. Hence objdump has no
way to tell what SH variant the code is for. Note that sh-dsp
/ sh3-dsp use 0xfxxx opcodes for dsp instructions that are used by
the sh3e / sh4 or floating point, so there is no all-encompassing
instruction set that we could use. We'd have to implement a way
to store the mach value for sh-coff. That is, if we care about
not having to specify -msh_dsp to objdump when using coff for sh-dsp.
--
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330
More information about the Binutils
mailing list