public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] ldelfgen.c: Add missing newlines when calling einfo
@ 2022-01-06 22:54 H.J. Lu
  2022-01-21 15:44 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2022-01-06 22:54 UTC (permalink / raw)
  To: binutils

	* ldelfgen.c (ldelf_map_segments): Add the missing newline to
	einfo.
---
 ld/ldelfgen.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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"));
     }
 }
 
-- 
2.33.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ldelfgen.c: Add missing newlines when calling einfo
  2022-01-06 22:54 [PATCH] ldelfgen.c: Add missing newlines when calling einfo H.J. Lu
@ 2022-01-21 15:44 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2022-01-21 15:44 UTC (permalink / raw)
  To: H.J. Lu, binutils

Hi H.J,.

> 	* ldelfgen.c (ldelf_map_segments): Add the missing newline to
> 	einfo.

Approved - please apply.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-21 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 22:54 [PATCH] ldelfgen.c: Add missing newlines when calling einfo H.J. Lu
2022-01-21 15:44 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).