From: H.J. Lu Date: Thu, 6 Jan 2022 22:52:11 +0000 (-0800) Subject: ldelfgen.c: Add missing newlines when calling einfo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea93a607c6dd93661867599df35e89650e518c1f;p=binutils-gdb.git ldelfgen.c: Add missing newlines when calling einfo * ldelfgen.c (ldelf_map_segments): Add the missing newline to einfo. --- diff --git a/ld/ldelfgen.c b/ld/ldelfgen.c index 905025fe442..5c033bbfbe0 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")); } }