aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-04-27 09:08:09 +0930
committerAlan Modra <amodra@gmail.com>2017-04-27 11:54:29 +0930
commita61d92b7bd4da998dd5d73e9205b4871f7c4825d (patch)
treea4e0720d2a685c4a678289967c1aa2b44170fed9
parent7a81a73b2e5d00b76e15d97db7b8f0c9809ba1b7 (diff)
downloadgdb-a61d92b7bd4da998dd5d73e9205b4871f7c4825d.zip
gdb-a61d92b7bd4da998dd5d73e9205b4871f7c4825d.tar.gz
gdb-a61d92b7bd4da998dd5d73e9205b4871f7c4825d.tar.bz2
[GOLD] testsuite/plugin_section_order.c fix
* testsuite/plugin_section_order.c (onload): Add missing break.
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/testsuite/plugin_section_order.c1
2 files changed, 5 insertions, 0 deletions
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;