aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-v850.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/cpu-v850.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/cpu-v850.c')
-rw-r--r--bfd/cpu-v850.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/cpu-v850.c b/bfd/cpu-v850.c
index aa083fd..d035bf3 100644
--- a/bfd/cpu-v850.c
+++ b/bfd/cpu-v850.c
@@ -32,7 +32,7 @@ scan (info, string)
enum bfd_architecture arch;
/* First test for an exact match */
- if (strcmp (string, info->printable_name) == 0)
+ if (strcasecmp (string, info->printable_name) == 0)
return true;
/* See how much of the supplied string matches with the
@@ -93,7 +93,7 @@ static const bfd_arch_info_type arch_info_struct[2] =
8, /* 8 bits in a byte */
bfd_arch_v850,
bfd_mach_v850e,
- "v850e",
+ "v850",
"v850e",
2,
false,
@@ -109,7 +109,7 @@ static const bfd_arch_info_type arch_info_struct[2] =
8, /* 8 bits in a byte */
bfd_arch_v850,
bfd_mach_v850eq,
- "v850eq",
+ "v850",
"v850eq",
2,
false,
@@ -126,9 +126,9 @@ const bfd_arch_info_type bfd_v850_arch =
32, /* 32 bits in an address */
8, /* 8 bits in a byte */
bfd_arch_v850,
- 0, /* only 1 machine */
+ bfd_mach_v850,
+ "v850",
"v850",
- "plain v850",
2,
true, /* the default */
bfd_default_compatible,