]> git.ipfire.org Git - thirdparty/gcc.git/commit
msp430.c (is_wakeup_func): New function.
authorNick Clifton <nickc@redhat.com>
Fri, 13 Dec 2013 10:00:40 +0000 (10:00 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 13 Dec 2013 10:00:40 +0000 (10:00 +0000)
commita005b5befd6bb3166b1d7c5269a2c791e4a4ee7c
treecdf53cc2a532fa7be52f7a04968c25e7ca478971
parente8111c8c64088b4efdf3e1a1a7818947fc2ae051
msp430.c (is_wakeup_func): New function.

* 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.

From-SVN: r205958
gcc/ChangeLog
gcc/config/msp430/msp430.c
gcc/config/msp430/msp430.md
gcc/doc/extend.texi