aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-02-21 16:10:04 -0500
committerMike Frysinger <vapier@gentoo.org>2015-02-21 16:10:04 -0500
commit9035ed511099fd79bc5a76d1ac457c0a8226a324 (patch)
tree49f786a584f9064d0487cea3a9ca2e0dd572c2ff
parent97a0c6972eb9eb730df3817a95f351545a8f7cac (diff)
downloadgdb-9035ed511099fd79bc5a76d1ac457c0a8226a324.zip
gdb-9035ed511099fd79bc5a76d1ac457c0a8226a324.tar.gz
gdb-9035ed511099fd79bc5a76d1ac457c0a8226a324.tar.bz2
binutils: readelf: add missing newline to warning message
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 1 deletions
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;