aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/extend.texi
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-06-03 00:43:21 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-06-03 00:43:21 +0000
commit2bccb817ce335a130252ceabd55524ce1b5ffa93 (patch)
tree9d08f042bc977b44fd461ebd592fa70987105930 /gcc/doc/extend.texi
parent097dbf654dde503a0d2a7e1ae3974291a4161d33 (diff)
downloadgcc-2bccb817ce335a130252ceabd55524ce1b5ffa93.zip
gcc-2bccb817ce335a130252ceabd55524ce1b5ffa93.tar.gz
gcc-2bccb817ce335a130252ceabd55524ce1b5ffa93.tar.bz2
m68k.c (m68k_attribute_table): Add "interrupt".
* config/m68k/m68k.c (m68k_attribute_table): Add "interrupt". (m68k_get_function_kind): Return m68k_fk_interrupt_handler on "interrupt". * doc/extend.texi (interrupt): Mention m68k. From-SVN: r125290
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r--gcc/doc/extend.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 4217eaa..b652bff 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2043,12 +2043,13 @@ This attribute is ignored for R8C target.
@item interrupt
@cindex interrupt handler functions
-Use this attribute on the ARM, AVR, C4x, CRX, M32C, M32R/D, MS1, and Xstormy16
-ports to indicate that the specified function is an interrupt handler.
-The compiler will generate function entry and exit sequences suitable
-for use in an interrupt handler when this attribute is present.
+Use this attribute on the ARM, AVR, C4x, CRX, M32C, M32R/D, m68k, MS1,
+and Xstormy16 ports to indicate that the specified function is an
+interrupt handler. The compiler will generate function entry and exit
+sequences suitable for use in an interrupt handler when this attribute
+is present.
-Note, interrupt handlers for the Blackfin, m68k, H8/300, H8/300H, H8S, and
+Note, interrupt handlers for the Blackfin, H8/300, H8/300H, H8S, and
SH processors can be specified via the @code{interrupt_handler} attribute.
Note, on the AVR, interrupts will be enabled inside the function.