[GOLD] testsuite/plugin_section_order.c fix
authorAlan Modra <amodra@gmail.com>
Wed, 26 Apr 2017 23:38:09 +0000 (09:08 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 27 Apr 2017 02:24:29 +0000 (11:54 +0930)
* testsuite/plugin_section_order.c (onload): Add missing break.

gold/ChangeLog
gold/testsuite/plugin_section_order.c

index d8d67e10a3ac03e9462008f3babafc115577d1f4..c2cdaa8b6e741b08176ff3cc46d1c22d9205fba8 100644 (file)
@@ -1,3 +1,7 @@
+2017-04-27  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/plugin_section_order.c (onload): Add missing break.
+
 2017-03-15  Vladimir Radosavljevic  <Vladimir.Radosavljevic@imgtec.com>
 
        * mips.cc (Mips_got_entry::hash()): Shift addend to reduce
index dfb88f25f3ced108822f5fb05bc9c7cb1b5be777..789171de0f287bc4fb0fe4ee1e851c3775d68b38 100644 (file)
@@ -85,6 +85,7 @@ onload(struct ld_plugin_tv *tv)
        case LDPT_ALLOW_UNIQUE_SEGMENT_FOR_SECTIONS:
          allow_unique_segment_for_sections
              = *entry->tv_u.tv_allow_unique_segment_for_sections;
+         break;
        case LDPT_UNIQUE_SEGMENT_FOR_SECTIONS:
          unique_segment_for_sections
              = *entry->tv_u.tv_unique_segment_for_sections;