This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] binutils: readelf: add missing newline to warning message


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9035ed511099fd79bc5a76d1ac457c0a8226a324

commit 9035ed511099fd79bc5a76d1ac457c0a8226a324
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Feb 21 16:10:04 2015 -0500

    binutils: readelf: add missing newline to warning message

Diff:
---
 binutils/ChangeLog | 5 +++++
 binutils/readelf.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 21e1f84..20abfe6 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+	* readelf.c (process_program_headers): Add newline to warning
+	message.
+
 2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
 
 	* readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
diff --git a/binutils/readelf.c b/binutils/readelf.c
index bfea37a..66b8f98 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -4490,7 +4490,7 @@ process_program_headers (FILE * file)
       /* PR binutils/12467.  */
       if (elf_header.e_phoff != 0)
 	warn (_("possibly corrupt ELF header - it has a non-zero program"
-		" header offset, but no program headers"));
+		" header offset, but no program headers\n"));
       else if (do_segments)
 	printf (_("\nThere are no program headers in this file.\n"));
       return 0;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]