aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2016-01-05 19:45:43 +0000
committerSandra Loosemore <sandra@codesourcery.com>2016-01-05 19:45:43 +0000
commitbd24ed422db742996c6cc6becd718876e4667a7d (patch)
tree91775f2190637ef6db8f5ac0b68a447e1e5fbc98
parent7590441b7686f8d26c36a550474619b9983449b4 (diff)
2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
PR 1078 gcc/ * doc/extend.texi (V850 Function Attributes): New section. (V850 Variable Attributes): New section. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@232085 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/extend.texi41
2 files changed, 47 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2963f352cc9..2a4a71fb52b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,12 @@
2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
PR 1078
+ * doc/extend.texi (V850 Function Attributes): New section.
+ (V850 Variable Attributes): New section.
+
+2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR 1078
* doc/extend.texi (MicroBlaze Function Attributes): Document
interrupt_handler and fast_interrupt attributes.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 44dc74788ab..0217efcc051 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2278,6 +2278,7 @@ GCC plugins may provide their own attributes.
* SH Function Attributes::
* SPU Function Attributes::
* Symbian OS Function Attributes::
+* V850 Function Attributes::
* Visium Function Attributes::
* x86 Function Attributes::
* Xstormy16 Function Attributes::
@@ -5099,6 +5100,22 @@ depended upon to work reliably and are not supported.
@xref{Microsoft Windows Function Attributes}, for discussion of the
@code{dllexport} and @code{dllimport} attributes.
+@node V850 Function Attributes
+@subsection V850 Function Attributes
+
+The V850 back end supports these function attributes:
+
+@table @code
+@item interrupt
+@itemx interrupt_handler
+@cindex @code{interrupt} function attribute, V850
+@cindex @code{interrupt_handler} function attribute, V850
+Use these attributes to indicate
+that the specified function is an interrupt handler. The compiler generates
+function entry and exit sequences suitable for use in an interrupt handler
+when either attribute is present.
+@end table
+
@node Visium Function Attributes
@subsection Visium Function Attributes
@@ -5437,6 +5454,7 @@ attributes.
* MSP430 Variable Attributes::
* PowerPC Variable Attributes::
* SPU Variable Attributes::
+* V850 Variable Attributes::
* x86 Variable Attributes::
* Xstormy16 Variable Attributes::
@end menu
@@ -6086,6 +6104,29 @@ The SPU supports the @code{spu_vector} attribute for variables. For
documentation of this attribute please see the documentation in
@ref{SPU Type Attributes}.
+@node V850 Variable Attributes
+@subsection V850 Variable Attributes
+
+These variable attributes are supported by the V850 back end:
+
+@table @code
+
+@item sda
+@cindex @code{sda} variable attribute, V850
+Use this attribute to explicitly place a variable in the small data area,
+which can hold up to 64 kilobytes.
+
+@item tda
+@cindex @code{tda} variable attribute, V850
+Use this attribute to explicitly place a variable in the tiny data area,
+which can hold up to 256 bytes in total.
+
+@item zda
+@cindex @code{zda} variable attribute, V850
+Use this attribute to explicitly place a variable in the first 32 kilobytes
+of memory.
+@end table
+
@node x86 Variable Attributes
@subsection x86 Variable Attributes