|
From: | Nick Clifton |
Subject: | Re: objdump -i ordering? |
Date: | Tue, 05 Dec 2006 15:36:17 +0000 |
User-agent: | Thunderbird 1.5.0.8 (X11/20061105) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |