This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Add a missing break to readelf.c
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 16 Feb 2016 23:04:16 -0000
- Subject: [binutils-gdb] Add a missing break to readelf.c
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a9fb83beadebf3bde442686ad79200fb65dd4b6e
commit a9fb83beadebf3bde442686ad79200fb65dd4b6e
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Feb 16 15:03:39 2016 -0800
Add a missing break to readelf.c
PR binutils/19647
* readelf.c (get_section_type_name): Add a missing break.
Diff:
---
binutils/ChangeLog | 5 +++++
binutils/readelf.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 4ac0e2d..bbaa373 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/19647
+ * readelf.c (get_section_type_name): Add a missing break.
+
2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
* readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d6abab8..7a755b4 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -3996,6 +3996,7 @@ get_section_type_name (unsigned int sh_type)
case EM_V850:
case EM_CYGNUS_V850:
result = get_v850_section_type_name (sh_type);
+ break;
default:
result = NULL;
break;