extend.texi: Replace "option" with "attribute" appropriately.

* doc/extend.texi: Replace "option" with "attribute"
	appropriately.

From-SVN: r48926
This commit is contained in:
Kazu Hirata 2002-01-16 21:00:15 +00:00 committed by Kazu Hirata
parent 510e283256
commit 88ab0d1c81
2 changed files with 16 additions and 11 deletions

View File

@ -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> 2002-01-16 Jakub Jelinek <jakub@redhat.com>
* config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into

View File

@ -2273,18 +2273,18 @@ structured exception table.
@item function_vector @item function_vector
@cindex calling functions through the function vector on the H8/300 processors @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 should be called through the function vector. Calling a
function through the function vector will reduce code size, however; function through the function vector will reduce code size, however;
the function vector has a limited size (maximum 128 entries on the H8/300 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. 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 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 @item interrupt
@cindex interrupt handler functions @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 that the specified function is an interrupt handler. The compiler will
generate function entry and exit sequences suitable for use in an generate function entry and exit sequences suitable for use in an
interrupt handler when this attribute is present. 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 @item interrupt_handler
@cindex interrupt handler functions on the H8/300 and SH processors @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 specified function is an interrupt handler. The compiler will generate
function entry and exit sequences suitable for use in an interrupt function entry and exit sequences suitable for use in an interrupt
handler when this attribute is present. handler when this attribute is present.
@item sp_switch @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 function should switch to an alternate stack. It expects a string
argument that names a global variable holding the address of the argument that names a global variable holding the address of the
alternate stack. alternate stack.
@ -2323,24 +2323,24 @@ void f () __attribute__ ((interrupt_handler,
@end smallexample @end smallexample
@item trap_exit @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 @code{trapa} instead of @code{rte}. This attribute expects an integer
argument specifying the trap number to be used. argument specifying the trap number to be used.
@item eightbit_data @item eightbit_data
@cindex eight bit data on the H8/300 and H8/300H @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. variable should be placed into the eight bit data section.
The compiler will generate more efficient code for certain operations 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 on data in the eight bit data area. Note the eight bit data area is limited to
256 bytes of data. 256 bytes of data.
You must use GAS and GLD from GNU binutils version 2.7 or later for 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 @item tiny_data
@cindex tiny data section on the H8/300H @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. variable should be placed into the tiny data section.
The compiler will generate more efficient code for loads and stores 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 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 @item signal
@cindex signal handler functions on the AVR processors @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 function is an signal handler. The compiler will generate function
entry and exit sequences suitable for use in an signal handler when this entry and exit sequences suitable for use in an signal handler when this
attribute is present. Interrupts will be disabled inside function. attribute is present. Interrupts will be disabled inside function.
@item naked @item naked
@cindex function without a prologue/epilogue code @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 function do not need prologue/epilogue sequences generated by the
compiler. It is up to the programmer to provide these sequences. compiler. It is up to the programmer to provide these sequences.