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]

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 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 


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