aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-01-23 18:50:57 +0000
committerNick Clifton <nickc@redhat.com>2003-01-23 18:50:57 +0000
commit5177500f26e1fc3127c607f72bd2dfbffb9165b3 (patch)
treebc37078bce5312e407d6dc8c5e2137cd98c9671c /gas
parent3434109f523fb6fbe890fc044931f86d035bb1ed (diff)
downloadgdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.zip
gdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.tar.gz
gdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.tar.bz2
Add SH2E support
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog12
-rw-r--r--gas/NEWS2
-rw-r--r--gas/config/tc-sh.c4
3 files changed, 17 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 049282a..25d5f13 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/NEWS b/gas/NEWS
index ab4ce39..367ddaf 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -1,5 +1,7 @@
-*- text -*-
+* Support for SH2E added.
+
* GASP has now been removed.
* Support for Texas Instruments TMS320C4x and TMS320C3x series of
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index fcc5b75..d3a6ac3 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -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)