summaryrefslogtreecommitdiff
path: root/bfd/cpu-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/cpu-sh.c')
-rw-r--r--bfd/cpu-sh.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/cpu-sh.c b/bfd/cpu-sh.c
index 054eb16449..30cd141ea9 100644
--- a/bfd/cpu-sh.c
+++ b/bfd/cpu-sh.c
@@ -58,6 +58,9 @@ compatible (a,b)
#define SH3_DSP_NEXT &arch_info_struct[4]
#define SH3E_NEXT &arch_info_struct[5]
#define SH4_NEXT NULL
+#undef SH4_NEXT
+#define SH4_NEXT &arch_info_struct[6]
+#define SH64_NEXT NULL
static const bfd_arch_info_type arch_info_struct[] =
{
@@ -145,6 +148,20 @@ static const bfd_arch_info_type arch_info_struct[] =
scan_mach,
SH4_NEXT
},
+ {
+ 64, /* 64 bits in a word */
+ 64, /* 64 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_sh,
+ bfd_mach_sh5,
+ "sh", /* arch_name */
+ "sh5", /* printable name */
+ 1,
+ false, /* not the default */
+ bfd_default_compatible,
+ scan_mach,
+ SH64_NEXT
+ },
};
const bfd_arch_info_type bfd_sh_arch =