summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd/cpu-arc.c
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-05-17 20:42:59 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-05-17 20:42:59 +0000
commitdabfd0a2b923dc8dd2fab68d1669102a0aa4352c (patch)
treed015d45f09daaa846ca3dc8ca58b731e65c28eea /gnu/usr.bin/binutils/bfd/cpu-arc.c
parentb92d90de71fbbb34bdcd7269aa7b30856e0b4f06 (diff)
import binutils 2.14 (excluding testsuites, .info files, and .po files)
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/cpu-arc.c')
-rw-r--r--gnu/usr.bin/binutils/bfd/cpu-arc.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/usr.bin/binutils/bfd/cpu-arc.c b/gnu/usr.bin/binutils/bfd/cpu-arc.c
index 2904ae32d52..c69df0e715c 100644
--- a/gnu/usr.bin/binutils/bfd/cpu-arc.c
+++ b/gnu/usr.bin/binutils/bfd/cpu-arc.c
@@ -1,5 +1,5 @@
/* BFD support for the ARC processor
- Copyright 1994, 1995, 1997, 2001 Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1997, 2001, 2002 Free Software Foundation, Inc.
Contributed by Doug Evans (dje@cygnus.com).
This file is part of BFD, the Binary File Descriptor library.
@@ -40,21 +40,23 @@ 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_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 ),
+ ARC ( bfd_mach_arc_5, "arc5", FALSE, &arch_info_struct[1] ),
+ 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_6, "arc", true, &arch_info_struct[0] );
+ ARC ( bfd_mach_arc_6, "arc", TRUE, &arch_info_struct[0] );
/* Utility routines. */
/* Given cpu type NAME, return its bfd_mach_arc_xxx value.
Returns -1 if not found. */
+int arc_get_mach PARAMS ((char *));
+
int
arc_get_mach (name)
char *name;