aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/cpu-arc.c')
-rw-r--r--bfd/cpu-arc.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/bfd/cpu-arc.c b/bfd/cpu-arc.c
index 07a052b..e63f3c1 100644
--- a/bfd/cpu-arc.c
+++ b/bfd/cpu-arc.c
@@ -54,20 +54,3 @@ static const bfd_arch_info_type arch_info_struct[] =
const bfd_arch_info_type bfd_arc_arch =
ARC (bfd_mach_arc_arc600, "ARC600", 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 (char *name);
-
-int
-arc_get_mach (char *name)
-{
- const bfd_arch_info_type *p;
-
- for (p = &bfd_arc_arch; p != NULL; p = p->next)
- if (strcmp (name, p->printable_name) == 0)
- return p->mach;
- return -1;
-}