aboutsummaryrefslogtreecommitdiff
path: root/bfd/archures.c
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/archures.c
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/archures.c')
-rw-r--r--bfd/archures.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/bfd/archures.c b/bfd/archures.c
index 9e0cbd6..9695451 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -130,6 +130,12 @@ DESCRIPTION
.#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
@@ -145,8 +151,9 @@ DESCRIPTION
. {* 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'