This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Problem in Addition of SH2E target
- From: "Dhananjay R. Deshpande" <dhananjayd at kpit dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Fri, 17 Jan 2003 15:04:16 +0530
- Subject: Problem in Addition of SH2E target
Hi,
The SH target currently does not support SH2E. I will like to add SH2E target
to GCC and Binutils. For GCC, we can use most of the existing support of SH3E
target as only difference in FPU of SH2E and SH3E is fsqrt instruction.
For Binutils, I think there are two problems.
1. What should be the eflags value for SH2E architecture? Selecting higher
value than SH5 (10) will make problems in merging two objects and selecting
value before SH3E (8) breaks compatibility with old SH3E, SH4 and SH5 objects
and libraries.
2. With -dsp switch of assembler, SH3E and SH4 instructions are disabled. For SH2E, FPU
instructions will be enabled. So SH2E instructions will also be disabled for
-dsp switch. Now the problem is that as SH2E is in between SH2 and SH3, SH3 instructions will also get disabled for -dsp switch and therefore SH3-DSP target will be affected.
Any help regarding this is appreciated.
Regards,
Dhananjay