aboutsummaryrefslogtreecommitdiff
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
parent6d0d2cd21ea8b0434dadae4bf930251dfb7a6c4f (diff)
downloadgdb-34786259b83b1c3a8866b3dc52ea2895a1e85fe6.zip
gdb-34786259b83b1c3a8866b3dc52ea2895a1e85fe6.tar.gz
gdb-34786259b83b1c3a8866b3dc52ea2895a1e85fe6.tar.bz2
* ldlang.c (print_wild_statement): Fix output formatting.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldlang.c8
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a337171..af64607 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 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 (")");