aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-07-05 12:54:28 +0000
committerAlan Modra <amodra@gmail.com>2002-07-05 12:54:28 +0000
commit34786259b83b1c3a8866b3dc52ea2895a1e85fe6 (patch)
treebdf9b169d2ca7a1edf6b2b40b37dfac419aa7247 /ld/ldlang.c
parent6d0d2cd21ea8b0434dadae4bf930251dfb7a6c4f (diff)
downloadgdb-34786259b83b1c3a8866b3dc52ea2895a1e85fe6.zip
gdb-34786259b83b1c3a8866b3dc52ea2895a1e85fe6.tar.gz
gdb-34786259b83b1c3a8866b3dc52ea2895a1e85fe6.tar.bz2
* ldlang.c (print_wild_statement): Fix output formatting.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index e775c08..ba14c63 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 (")");