aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-02-16 15:03:39 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-02-16 15:03:39 -0800
commita9fb83beadebf3bde442686ad79200fb65dd4b6e (patch)
treec8e6f9a35b63bf07f56abd80c1d7570791466723
parent21b1f8d2fc29b7e0585dbdca72c0b8a8bf070a2e (diff)
downloadgdb-a9fb83beadebf3bde442686ad79200fb65dd4b6e.zip
gdb-a9fb83beadebf3bde442686ad79200fb65dd4b6e.tar.gz
gdb-a9fb83beadebf3bde442686ad79200fb65dd4b6e.tar.bz2
Add a missing break to readelf.c
PR binutils/19647 * readelf.c (get_section_type_name): Add a missing break.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c1
2 files changed, 6 insertions, 0 deletions
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;