aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-01-06 14:52:11 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-01-06 14:52:11 -0800
commitea93a607c6dd93661867599df35e89650e518c1f (patch)
treee4c3204245569cdbd7cf06d6c2f24a8d45567a31 /ld
parentaf4004d1da135610ab931e04a3ba2c9124defbd7 (diff)
downloadfsf-binutils-gdb-ea93a607c6dd93661867599df35e89650e518c1f.zip
fsf-binutils-gdb-ea93a607c6dd93661867599df35e89650e518c1f.tar.gz
fsf-binutils-gdb-ea93a607c6dd93661867599df35e89650e518c1f.tar.bz2
ldelfgen.c: Add missing newlines when calling einfo
* ldelfgen.c (ldelf_map_segments): Add the missing newline to einfo.
Diffstat (limited to 'ld')
-rw-r--r--ld/ldelfgen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldelfgen.c b/ld/ldelfgen.c
index 905025f..5c033bb 100644
--- a/ld/ldelfgen.c
+++ b/ld/ldelfgen.c
@@ -282,7 +282,7 @@ ldelf_map_segments (bool need_layout)
&& bfd_link_relocatable (&link_info))
{
einfo (_("%F%P: "
- "%pA has both ordered and unordered sections"),
+ "%pA has both ordered and unordered sections\n"),
os->bfd_section);
return;
}
@@ -325,7 +325,7 @@ ldelf_map_segments (bool need_layout)
while (need_layout && --tries);
if (tries == 0)
- einfo (_("%F%P: looping in map_segments"));
+ einfo (_("%F%P: looping in map_segments\n"));
if (bfd_get_flavour (link_info.output_bfd) == bfd_target_elf_flavour
&& lang_phdr_list == NULL)
@@ -337,7 +337,7 @@ ldelf_map_segments (bool need_layout)
if (bed->elf_backend_strip_zero_sized_dynamic_sections
&& !bed->elf_backend_strip_zero_sized_dynamic_sections
(&link_info))
- einfo (_("%F%P: failed to strip zero-sized dynamic sections"));
+ einfo (_("%F%P: failed to strip zero-sized dynamic sections\n"));
}
}