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] MSP430 Assembler: Leave placement of .lower and .upper sections to generic linker code.


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

commit afff667ae800adee5934020c92012e3ecbf4dabd
Author: Jozef Lawrynowicz <jozef.l@mittosystems.com>
Date:   Wed Apr 17 15:03:27 2019 +0100

    MSP430 Assembler: Leave placement of .lower and .upper sections to generic linker code.
    
    	* config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
    	symbol when .lower.bss or .either.bss sections exist.
    	Define __crt0_movedata when .lower.data or .either.data sections exist.
    	* testsuite/gas/msp430/either-data-bss-sym.d: New test.
    	* testsuite/gas/msp430/low-data-bss-sym.d: New test.
    	* testsuite/gas/msp430/either-data-bss-sym.s: New test source.
    	* testsuite/gas/msp430/low-data-bss-sym.s: New test source.
    	* testsuite/gas/msp430/msp430.exp: Run new tests.
    	Enable large code model when running -mdata-region={upper,either}
    	tests.

Diff:
---
 gas/ChangeLog | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index d6c80cb..60005e0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,18 @@
 2019-04-17  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
+	* config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
+	symbol when .lower.bss or .either.bss sections exist.
+	Define __crt0_movedata when .lower.data or .either.data sections exist.
+	* testsuite/gas/msp430/either-data-bss-sym.d: New test.
+	* testsuite/gas/msp430/low-data-bss-sym.d: New test.
+	* testsuite/gas/msp430/either-data-bss-sym.s: New test source.
+	* testsuite/gas/msp430/low-data-bss-sym.s: New test source.
+	* testsuite/gas/msp430/msp430.exp: Run new tests.
+	Enable large code model when running -mdata-region={upper,either}
+	tests.
+
+2019-04-17  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
 	* config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS,
 	OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops.
 	(md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and


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