This is the mail archive of the binutils-cvs@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]

[binutils-gdb] [GOLD] testsuite/plugin_section_order.c fix


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a61d92b7bd4da998dd5d73e9205b4871f7c4825d

commit a61d92b7bd4da998dd5d73e9205b4871f7c4825d
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Apr 27 09:08:09 2017 +0930

    [GOLD] testsuite/plugin_section_order.c fix
    
    	* testsuite/plugin_section_order.c (onload): Add missing break.

Diff:
---
 gold/ChangeLog                        | 4 ++++
 gold/testsuite/plugin_section_order.c | 1 +
 2 files changed, 5 insertions(+)

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;


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