diff options
author | Nick Clifton <nickc@redhat.com> | 2015-10-06 16:26:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2015-10-06 16:26:22 +0000 |
commit | 90bc48789b8ca036a728396de3d26b6a2b6a60e8 (patch) | |
tree | cab0ca94b0c4571ec5452234d295d64177c9f136 /gcc/config.gcc | |
parent | eaec70cd8bb0d06d550878428a961a41e755f213 (diff) | |
download | gcc-90bc48789b8ca036a728396de3d26b6a2b6a60e8.zip gcc-90bc48789b8ca036a728396de3d26b6a2b6a60e8.tar.gz gcc-90bc48789b8ca036a728396de3d26b6a2b6a60e8.tar.bz2 |
gcc * config/msp430/msp430.c (ATTR_NOINIT): New constant.
(ATTR_PERSIST): New constant.
(msp430_data_attr): New function - verifies an attribute that only
applies to variables.
(msp430_attributes): Add noinit and persistent attributes.
(noinit_section): New variable.
(presis_section): New variable.
(TARGET_ASM_INIT_SECTIONS): Define.
(msp430_init_sections): New function - initialises the noinit and
persist section variables.
(msp430_select_section): Add support for noinit and persist
attributes.
(msp430_section_type_flags): Likewise.
* doc/extend.texi: Document the reent, critical, wakeup, noinit
and persistent attributes.
tests * gcc.target/msp430: New directory.
* gcc.target/msp430/msp430.exp: New file. Runs MSP430 specific
tests.
* gcc.target/msp430/data-attributes.c: New file. Checks the
noinit and persistent data attributes.
From-SVN: r228531
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions