aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-sh.c
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 /bfd/elf32-sh.c
parent3434109f523fb6fbe890fc044931f86d035bb1ed (diff)
downloadgdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.zip
gdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.tar.gz
gdb-5177500f26e1fc3127c607f72bd2dfbffb9165b3.tar.bz2
Add SH2E support
Diffstat (limited to 'bfd/elf32-sh.c')
-rw-r--r--bfd/elf32-sh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index d1e618b..f0e0177 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -6724,6 +6724,9 @@ sh_elf_set_mach_from_flags (abfd)
case EF_SH2:
bfd_default_set_arch_mach (abfd, bfd_arch_sh, bfd_mach_sh2);
break;
+ case EF_SH2E:
+ bfd_default_set_arch_mach (abfd, bfd_arch_sh, bfd_mach_sh2e);
+ break;
case EF_SH_DSP:
bfd_default_set_arch_mach (abfd, bfd_arch_sh, bfd_mach_sh_dsp);
break;