aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-08-28 10:01:33 +0000
committerAndrew Cagney <cagney@redhat.com>1997-08-28 10:01:33 +0000
commitf40d28bfc07c793f413cf7523a1f93385f546d95 (patch)
treee124f2065bba2614772a93a8fc340d9e736f7864 /bfd/bfd-in2.h
parent04258deea27682f72f7e67b10875ba448155a3df (diff)
downloadgdb-f40d28bfc07c793f413cf7523a1f93385f546d95.zip
gdb-f40d28bfc07c793f413cf7523a1f93385f546d95.tar.gz
gdb-f40d28bfc07c793f413cf7523a1f93385f546d95.tar.bz2
Add sh3 et.al. to SH arch table.
Improve machine name parsing for v850 and SH.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index ddb5409..d5532fd 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1222,6 +1222,12 @@ enum bfd_architecture
#define bfd_mach_z8002 2
bfd_arch_h8500, /* Hitachi H8/500 */
bfd_arch_sh, /* Hitachi SH */
+#define bfd_mach_sh 0
+#define bfd_mach_sh3 0x30
+#define bfd_mach_sh3e 0x3e
+ /* start-sanitize-sh4 */
+#define bfd_mach_sh4 0x40
+ /* end-sanitize-sh4 */
bfd_arch_alpha, /* Dec Alpha */
bfd_arch_arm, /* Advanced Risc Machines ARM */
#define bfd_mach_arm_2 1
@@ -1237,8 +1243,9 @@ enum bfd_architecture
/* end-sanitize-tic80 */
/* start-sanitize-v850 */
bfd_arch_v850, /* NEC V850 */
+#define bfd_mach_v850 0
/* start-sanitize-v850e */
-#define bfd_mach_v850e 'E'
+#define bfd_mach_v850e 'E'
/* end-sanitize-v850e */
/* start-sanitize-v850eq */
#define bfd_mach_v850eq 'Q'