re PR target/78838 (msp430 option -mcode-region=either, -ffunction-sections, and...
authorJozef Lawrynowicz <jozef.l@somniumtech.com>
Tue, 30 May 2017 10:49:29 +0000 (10:49 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 30 May 2017 10:49:29 +0000 (10:49 +0000)
commitb3125625df0b0895b0acbc2949d2a03dc4971145
tree2343a92808c2b8228f1f25d64b9b63f388034431
parentb2deed1233639aa49836571d2082dba0ddbd86b4
re PR target/78838 (msp430 option -mcode-region=either, -ffunction-sections, and interrupt function attributes cause incorrect section to be created)

PR target/78838
gcc * config/msp430/msp430.c (gen_prefix): Return NULL when section name is
.lowtext.
(has_section_name): New function.

testsuite * gcc.target/msp430/interrupt_fn_placement.c: New test.

From-SVN: r248674
gcc/ChangeLog
gcc/config/msp430/msp430.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/msp430/interrupt_fn_placement.c [new file with mode: 0644]