Hi Tiron,

display_info_table()
you say in a comment at the beggining at the function

/*Print a table showing which architectures are
supported for entries FIRST through LAST-1 of
bfd_target_vector (targets across,
architectures down). */

So target across and architectures down. However you
print the targets across and again the targets down.
Shouldn't you print instead the architectures down?

I think that you may be mistaken here. The main loop inside display_info_table looks like this:

  for (a = bfd_arch_obscure + 1; a < bfd_arch_last; a++)
     for (t = first; t < last && bfd_target_vector[t]; t++)

so it walks over the known architectures and for each one it looks at the list of known targets. At the end of the inner for() loop there is a putchar('\n') so each line corresponds to one set of targets matching one individual architecture.

Cheers
  Nick


        


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to