diff options
author | Alan Modra <amodra@gmail.com> | 2002-07-05 12:54:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-07-05 12:54:28 +0000 |
commit | 34786259b83b1c3a8866b3dc52ea2895a1e85fe6 (patch) | |
tree | bdf9b169d2ca7a1edf6b2b40b37dfac419aa7247 /ld | |
parent | 6d0d2cd21ea8b0434dadae4bf930251dfb7a6c4f (diff) | |
download | binutils-gdb-34786259b83b1c3a8866b3dc52ea2895a1e85fe6.tar.gz |
* ldlang.c (print_wild_statement): Fix output formatting.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ldlang.c | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a3371710c0e..af64607c95d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2002-07-05 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (print_wild_statement): Fix output formatting. + 2002-07-04 Alan Modra <amodra@bigpond.net.au> * ldlang.c: (strip_excluded_output_sections): New function. diff --git a/ld/ldlang.c b/ld/ldlang.c index e775c088532..ba14c63a1f9 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -2561,10 +2561,10 @@ print_wild_statement (w, os) if (sec->spec.exclude_name_list != NULL) { name_list *tmp; - minfo ("EXCLUDE_FILE ( %s", sec->spec.exclude_name_list->name); + minfo ("EXCLUDE_FILE(%s", sec->spec.exclude_name_list->name); for (tmp = sec->spec.exclude_name_list->next; tmp; tmp = tmp->next) - minfo (", %s", tmp->name); - minfo (")"); + minfo (" %s", tmp->name); + minfo (") "); } if (sec->spec.name != NULL) minfo ("%s", sec->spec.name); @@ -2572,6 +2572,8 @@ print_wild_statement (w, os) minfo ("*"); if (sec->spec.sorted) minfo (")"); + if (sec->next) + minfo (" "); } minfo (")"); |