aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-arc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-12 15:14:53 +0000
committerAlan Modra <amodra@gmail.com>2001-05-12 15:14:53 +0000
commitbcee8eb8ca80b00b13e2fde8c44894f55d11e141 (patch)
tree6bca597ac7a0e5fa877458dae8aec483cc6d1485 /bfd/cpu-arc.c
parent4bba68155df1ff42f84c1dab62423444cde7ea02 (diff)
downloadgdb-bcee8eb8ca80b00b13e2fde8c44894f55d11e141.zip
gdb-bcee8eb8ca80b00b13e2fde8c44894f55d11e141.tar.gz
gdb-bcee8eb8ca80b00b13e2fde8c44894f55d11e141.tar.bz2
Peter Targett's backwards compatibility and other arc fixes.
Diffstat (limited to 'bfd/cpu-arc.c')
-rw-r--r--bfd/cpu-arc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/bfd/cpu-arc.c b/bfd/cpu-arc.c
index 8e8e09a..2904ae3 100644
--- a/bfd/cpu-arc.c
+++ b/bfd/cpu-arc.c
@@ -33,7 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
print_name, \
4, /* section alignment power */ \
default_p, \
- bfd_default_compatible, \
+ bfd_default_compatible, \
bfd_default_scan, \
next, \
}
@@ -41,13 +41,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
static const bfd_arch_info_type arch_info_struct[] =
{
ARC ( bfd_mach_arc_5, "arc5", false, &arch_info_struct[1] ),
- ARC ( bfd_mach_arc_6, "arc6", false, &arch_info_struct[2] ),
- ARC ( bfd_mach_arc_7, "arc7", false, &arch_info_struct[3] ),
+ ARC ( bfd_mach_arc_5, "base", false, &arch_info_struct[2] ),
+ ARC ( bfd_mach_arc_6, "arc6", false, &arch_info_struct[3] ),
+ ARC ( bfd_mach_arc_7, "arc7", false, &arch_info_struct[4] ),
ARC ( bfd_mach_arc_8, "arc8", false, NULL ),
};
const bfd_arch_info_type bfd_arc_arch =
- ARC ( bfd_mach_arc_5, "arc", true, &arch_info_struct[0] );
+ ARC ( bfd_mach_arc_6, "arc", true, &arch_info_struct[0] );
/* Utility routines. */