aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-01-16 21:00:15 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-01-16 21:00:15 +0000
commit88ab0d1c815b3bad950f0a8b9c7818657281f0a3 (patch)
tree6f7b318176c2a7e1f8020d423fe7b501f620df3f /gcc
parent510e2832560e4d2041507ed79d2dad6975632be8 (diff)
downloadgcc-88ab0d1c815b3bad950f0a8b9c7818657281f0a3.zip
gcc-88ab0d1c815b3bad950f0a8b9c7818657281f0a3.tar.gz
gcc-88ab0d1c815b3bad950f0a8b9c7818657281f0a3.tar.bz2
extend.texi: Replace "option" with "attribute" appropriately.
* doc/extend.texi: Replace "option" with "attribute" appropriately. From-SVN: r48926
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi22
2 files changed, 16 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9cb28ee..0f20fe1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-16 Kazu Hirata <kazu@hxi.com>
+
+ * doc/extend.texi: Replace "option" with "attribute"
+ appropriately.
+
2002-01-16 Jakub Jelinek <jakub@redhat.com>
* config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index bf2948b..80e1ca5 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2273,18 +2273,18 @@ structured exception table.
@item function_vector
@cindex calling functions through the function vector on the H8/300 processors
-Use this option on the H8/300 and H8/300H to indicate that the specified
+Use this attribute on the H8/300 and H8/300H to indicate that the specified
function should be called through the function vector. Calling a
function through the function vector will reduce code size, however;
the function vector has a limited size (maximum 128 entries on the H8/300
and 64 entries on the H8/300H) and shares space with the interrupt vector.
You must use GAS and GLD from GNU binutils version 2.7 or later for
-this option to work correctly.
+this attribute to work correctly.
@item interrupt
@cindex interrupt handler functions
-Use this option on the ARM, AVR, M32R/D and Xstormy16 ports to indicate
+Use this attribute on the ARM, AVR, M32R/D 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.
@@ -2305,13 +2305,13 @@ Permissible values for this parameter are: IRQ, FIQ, SWI, ABORT and UNDEF@.
@item interrupt_handler
@cindex interrupt handler functions on the H8/300 and SH processors
-Use this option on the H8/300, H8/300H and SH to indicate that the
+Use this attribute on the H8/300, H8/300H and SH 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.
@item sp_switch
-Use this option on the SH to indicate an @code{interrupt_handler}
+Use this attribute on the SH to indicate an @code{interrupt_handler}
function should switch to an alternate stack. It expects a string
argument that names a global variable holding the address of the
alternate stack.
@@ -2323,24 +2323,24 @@ void f () __attribute__ ((interrupt_handler,
@end smallexample
@item trap_exit
-Use this option on the SH for an @code{interrupt_handle} to return using
+Use this attribute on the SH for an @code{interrupt_handle} to return using
@code{trapa} instead of @code{rte}. This attribute expects an integer
argument specifying the trap number to be used.
@item eightbit_data
@cindex eight bit data on the H8/300 and H8/300H
-Use this option on the H8/300 and H8/300H to indicate that the specified
+Use this attribute on the H8/300 and H8/300H to indicate that the specified
variable should be placed into the eight bit data section.
The compiler will generate more efficient code for certain operations
on data in the eight bit data area. Note the eight bit data area is limited to
256 bytes of data.
You must use GAS and GLD from GNU binutils version 2.7 or later for
-this option to work correctly.
+this attribute to work correctly.
@item tiny_data
@cindex tiny data section on the H8/300H
-Use this option on the H8/300H to indicate that the specified
+Use this attribute on the H8/300H to indicate that the specified
variable should be placed into the tiny data section.
The compiler will generate more efficient code for loads and stores
on data in the tiny data section. Note the tiny data area is limited to
@@ -2348,14 +2348,14 @@ slightly under 32kbytes of data.
@item signal
@cindex signal handler functions on the AVR processors
-Use this option on the AVR to indicate that the specified
+Use this attribute on the AVR to indicate that the specified
function is an signal handler. The compiler will generate function
entry and exit sequences suitable for use in an signal handler when this
attribute is present. Interrupts will be disabled inside function.
@item naked
@cindex function without a prologue/epilogue code
-Use this option on the ARM or AVR ports to indicate that the specified
+Use this attribute on the ARM or AVR ports to indicate that the specified
function do not need prologue/epilogue sequences generated by the
compiler. It is up to the programmer to provide these sequences.