MSP430: Use default_elf_select_section to determine sections for data
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 3 Sep 2019 20:57:02 +0000 (20:57 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Tue, 3 Sep 2019 20:57:02 +0000 (20:57 +0000)
commit64be2b26eb94fcb4d4e754aeb06e868535f33169
treeafc12e45a5c212c9401351dc7ddaa56d05e3b55b
parentf1deee9179236ea46965e11923c0f8306b6821ef
MSP430: Use default_elf_select_section to determine sections for data

2019-09-03  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* config/msp430/msp430.c (msp430_init_sections): Remove handling of the
noinit section.
(msp430_select_section): Handle decls with the "noinit" attribute with
default_elf_select_section.
Handle SECCAT_RODATA_MERGE_* section types with
default_elf_select_section.
Add comments about handling of unsupported section types.
(msp430_section_type_flags): Remove handling of the noinit section.

From-SVN: r275357
gcc/ChangeLog
gcc/config/msp430/msp430.c