Add a missing break to readelf.c
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 16 Feb 2016 23:03:39 +0000 (15:03 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 16 Feb 2016 23:03:39 +0000 (15:03 -0800)
PR binutils/19647
* readelf.c (get_section_type_name): Add a missing break.

binutils/ChangeLog
binutils/readelf.c

index 4ac0e2d1ecc7041f5677848f7c6a4bad2af491fb..bbaa3737c6c65aeb0ecfd43638c54cce96a67b85 100644 (file)
@@ -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.
index d6abab800af2d12c72145aba6c1e1c3994bce89a..7a755b4670884899e57fda98d0915fab8f71e8a3 100644 (file)
@@ -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;