* ld.texinfo (ARM): Document --stub-group-size=N option.
[deliverable/binutils-gdb.git] / binutils / bucomm.c
index 26cb09efb42b22ced5f49084d786301462c2d01e..508790ffa3c3069537b46faa960148810191edf9 100644 (file)
@@ -195,16 +195,18 @@ list_supported_targets (const char *name, FILE *f)
 void
 list_supported_architectures (const char *name, FILE *f)
 {
-  const char **arch;
+  const char ** arch;
+  const char ** arches;
 
   if (name == NULL)
     fprintf (f, _("Supported architectures:"));
   else
     fprintf (f, _("%s: supported architectures:"), name);
 
-  for (arch = bfd_arch_list (); *arch; arch++)
+  for (arch = arches = bfd_arch_list (); *arch; arch++)
     fprintf (f, " %s", *arch);
   fprintf (f, "\n");
+  free (arches);
 }
 \f
 /* The length of the longest architecture name + 1.  */
This page took 0.022915 seconds and 4 git commands to generate.