From 34786259b83b1c3a8866b3dc52ea2895a1e85fe6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 5 Jul 2002 12:54:28 +0000 Subject: [PATCH] * ldlang.c (print_wild_statement): Fix output formatting. --- ld/ChangeLog | 4 ++++ 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 + + * ldlang.c (print_wild_statement): Fix output formatting. + 2002-07-04 Alan Modra * 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 (")"); -- 2.30.2