This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[GOLD] testsuite/plugin_section_order.c fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]