* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
[deliverable/binutils-gdb.git] / binutils / bucomm.c
index 401a3e406ba735ee12e36d2f0cb6690c6140a25d..bf0f7993d31d36e71fe15987db2ee668d430fcd4 100644 (file)
@@ -168,6 +168,25 @@ list_supported_targets (name, f)
     fprintf (f, " %s", bfd_target_vector[t]->name);
   fprintf (f, "\n");
 }
+
+/* List the supported architectures.  */
+
+void
+list_supported_architectures (name, f)
+     const char *name;
+     FILE *f;
+{
+  const char** arch;
+
+  if (name == NULL)
+    fprintf (f, _("Supported architectures:"));
+  else
+    fprintf (f, _("%s: supported architectures:"), name);
+
+  for (arch = bfd_arch_list (); *arch; arch++)
+    fprintf (f, " %s", *arch);
+  fprintf (f, "\n");
+}
 \f
 /* Display the archive header for an element as if it were an ls -l listing:
 
This page took 0.02365 seconds and 4 git commands to generate.