aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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/config
parent3434109f523fb6fbe890fc044931f86d035bb1ed (diff)
downloadgdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.zip
gdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.tar.gz
gdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.tar.bz2
Add SH2E support
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-sh.c4
1 files changed, 3 insertions, 1 deletions
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)