[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 d8d67e1..c2cdaa8 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 dfb88f2..789171d 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;