]> git.ipfire.org Git - thirdparty/gcc.git/commit
gcc * config/msp430/msp430.c (ATTR_NOINIT): New constant.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Oct 2015 16:26:22 +0000 (16:26 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Oct 2015 16:26:22 +0000 (16:26 +0000)
commit4f745ee2dbd10dcc85234d97bbb7ccfa400919e5
treecab0ca94b0c4571ec5452234d295d64177c9f136
parent6e33678dd5f2f586fb64de2e918e4cca2251160e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228531 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/msp430/msp430.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/msp430/data-attributes.c [new file with mode: 0644]
gcc/testsuite/gcc.target/msp430/msp430.exp [new file with mode: 0644]