MSP430 Assembler: Define symbols for functions to run through.
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Thu, 18 Apr 2019 12:15:09 +0000 (13:15 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Apr 2019 12:15:09 +0000 (13:15 +0100)
commit5d5b0bd35f1f8b8484349c3ec51aa8e19a1627cf
tree9d4f8ffc9ed00dba1d8a945c2614264dd3cdb945
parent05be37e5c34b822ff3032791c2415e652fbf9fbf
MSP430 Assembler: Define symbols for functions to run through.

gas * config/tc-msp430.c (msp430_make_init_symbols): Define
__crt0_run_{preinit,init,fini}_array symbols if
.{preinit,init,fini}_array sections exist.
* testsuite/gas/msp430/fini-array.d: New test.
* testsuite/gas/msp430/init-array.d: New test.
* testsuite/gas/msp430/preinit-array.d: New test.
* testsuite/gas/msp430/fini-array.s: New test source.
* testsuite/gas/msp430/init-array.s: New test source.
* testsuite/gas/msp430/preinit-array.s: New test source.
* testsuite/gas/msp430/msp430.exp: Add new tests to driver.
gas/ChangeLog
gas/config/tc-msp430.c
gas/testsuite/gas/msp430/fini-array.d [new file with mode: 0644]
gas/testsuite/gas/msp430/fini-array.s [new file with mode: 0644]
gas/testsuite/gas/msp430/init-array.d [new file with mode: 0644]
gas/testsuite/gas/msp430/init-array.s [new file with mode: 0644]
gas/testsuite/gas/msp430/msp430.exp
gas/testsuite/gas/msp430/preinit-array.d [new file with mode: 0644]
gas/testsuite/gas/msp430/preinit-array.s [new file with mode: 0644]