]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
MSP430 Assembler: Leave placement of .lower and .upper sections to generic linker...
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Wed, 17 Apr 2019 14:03:27 +0000 (15:03 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 17 Apr 2019 14:03:27 +0000 (15:03 +0100)
commitafff667ae800adee5934020c92012e3ecbf4dabd
treead269f2fe35622fe98641ae9d67235178669f508
parentd557977487bc21e8ed19603527949a8541c44832
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.
gas/ChangeLog