Add SH2E support

This commit is contained in:
Nick Clifton
2003-01-23 18:50:57 +00:00
parent 3434109f52
commit 5177500f26
13 changed files with 308 additions and 219 deletions

View File

@ -1,3 +1,15 @@
2003-01-23 Nick Clifton <nickc@redhat.com>
NEWS: Announce sh2e support.
* Add sh2e support:
2002-04-02 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sh.c (md_show_usage): Added sh2e next to
sh3e.
(sh_elf_final_processing): Handle arch_sh2e.
2003-01-23 Alan Modra <amodra@bigpond.net.au>
* symbols.c (S_FORCE_RELOC): Add "strict" param.

View File

@ -1,5 +1,7 @@
-*- text -*-
* Support for SH2E added.
* GASP has now been removed.
* Support for Texas Instruments TMS320C4x and TMS320C3x series of

View File

@ -2718,7 +2718,7 @@ SH options:\n\
-big generate big endian code\n\
-relax alter jump instructions for long displacements\n\
-small align sections to 4 byte boundaries, not 16\n\
-dsp enable sh-dsp insns, and disable sh3e / sh4 insns.\n"));
-dsp enable sh-dsp insns, and disable sh2e/sh3e/sh4 insns.\n"));
#ifdef HAVE_SH64
fprintf (stream, _("\
-isa=[shmedia set default instruction set for SH64\n\
@ -3298,6 +3298,8 @@ sh_elf_final_processing ()
val = EF_SH1;
else if (valid_arch & arch_sh2)
val = EF_SH2;
else if (valid_arch & arch_sh2e)
val = EF_SH2E;
else if (valid_arch & arch_sh_dsp)
val = EF_SH_DSP;
else if (valid_arch & arch_sh3)