* config/msp430/msp430.c (is_wakeup_func): New function. Returns
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Dec 2013 10:00:40 +0000 (10:00 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Dec 2013 10:00:40 +0000 (10:00 +0000)
commit0a9aab6d8e3ba30f4abb1dcc8b170ef757ba87a5
treecdf53cc2a532fa7be52f7a04968c25e7ca478971
parent32931c109234d4b5d2355b4404240e82f1b3d4f0
* config/msp430/msp430.c (is_wakeup_func): New function.  Returns
true if the current function has the wakeup attribute.
(msp430_start_function): Note if the function has the wakeup
attribute.
(msp430_attribute_table): Add wakeup attribute.
(msp430_expand_epilogue): Add support for wakeup functions.
* config/msp430/msp430.md (disable_interrupts): Emit a NOP after
the DINT instruction.
* doc/extend.texi: Document the wakeup attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205958 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/msp430/msp430.c
gcc/config/msp430/msp430.md
gcc/doc/extend.texi