This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] testsuite/plugin_section_order.c fix
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 27 Apr 2017 11:52:04 +0930
- Subject: [GOLD] testsuite/plugin_section_order.c fix
- Authentication-results: sourceware.org; auth=none
Obvious fix.
* testsuite/plugin_section_order.c (onload): Add missing break.
diff --git a/gold/ChangeLog b/gold/ChangeLog
index d8d67e1..c2cdaa8 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
diff --git a/gold/testsuite/plugin_section_order.c b/gold/testsuite/plugin_section_order.c
index dfb88f2..789171d 100644
--- a/gold/testsuite/plugin_section_order.c
+++ b/gold/testsuite/plugin_section_order.c
@@ -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;
--
Alan Modra
Australia Development Lab, IBM