diff options
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index e775c08853..ba14c63a1f 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 (")"); |