diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2016-01-05 13:04:01 -0500 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2016-01-05 13:04:01 -0500 |
commit | 0d19c66df4f247713d2ec8d91b431d5b3daf4501 (patch) | |
tree | c48292cdec793198ae2a5b48b2d2ced836c7d064 /gcc | |
parent | face88a110a3c1970119ba5fea9679609242975c (diff) | |
download | gcc-0d19c66df4f247713d2ec8d91b431d5b3daf4501.zip gcc-0d19c66df4f247713d2ec8d91b431d5b3daf4501.tar.gz gcc-0d19c66df4f247713d2ec8d91b431d5b3daf4501.tar.bz2 |
re PR target/1078 (Problems with attributes documentation)
2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
PR 1078
gcc/
* doc/extend.texi (MicroBlaze Function Attributes): Document
interrupt_handler and fast_interrupt attributes.
From-SVN: r232081
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d54d604..2963f35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-01-05 Sandra Loosemore <sandra@codesourcery.com> + + PR 1078 + * doc/extend.texi (MicroBlaze Function Attributes): Document + interrupt_handler and fast_interrupt attributes. + 2016-01-05 Sergei Trofimovich <siarheit@google.com> PR other/60465 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 2c462cb..44dc747 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -4205,6 +4205,17 @@ the @code{rtbd} instead of @code{rtsd}. @smallexample void f () __attribute__ ((break_handler)); @end smallexample + +@item interrupt_handler +@itemx fast_interrupt +@cindex @code{interrupt_handler} function attribute, MicroBlaze +@cindex @code{fast_interrupt} function attribute, MicroBlaze +These attributes indicate that the specified function is an interrupt +handler. Use the @code{fast_interrupt} attribute to indicate handlers +used in low-latency interrupt mode, and @code{interrupt_handler} for +interrupts that do not use low-latency handlers. In both cases, GCC +emits appropriate prologue code and generates a return from the handler +using @code{rtid} instead of @code{rtsd}. @end table @node Microsoft Windows Function Attributes |