aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-06-26 15:02:11 -0700
committerAndrew Pinski <apinski@marvell.com>2023-06-26 15:06:35 -0700
commit0aad1da62208078c04b373feb4cf90a0659eebc0 (patch)
treee346bbdeb8fbdf1ed2a48282e797866c40987a94 /gcc
parent3162ca09dbdc2ea3ff1d4b752edf76955b6d94f9 (diff)
downloadgcc-0aad1da62208078c04b373feb4cf90a0659eebc0.zip
gcc-0aad1da62208078c04b373feb4cf90a0659eebc0.tar.gz
gcc-0aad1da62208078c04b373feb4cf90a0659eebc0.tar.bz2
docs: Add @cindex for some attributes
While looking for the access attribute, I tried to find it via the concept index but it was missing. This patch fixes that and adds one for interrupt/interrupt_handler too. Committed as obvious after building the HTML docs and looking at the resulting concept index page. gcc/ChangeLog: * doc/extend.texi (access attribute): Add cindex for it. (interrupt/interrupt_handler attribute): Likewise.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/extend.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 3040a9b..05afd9a 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2573,6 +2573,7 @@ The following attributes are supported on most targets.
@table @code
@c Keep this table alphabetized by attribute name. Treat _ as space.
+@cindex @code{access} function attribute
@item access (@var{access-mode}, @var{ref-index})
@itemx access (@var{access-mode}, @var{ref-index}, @var{size-index})
@@ -3339,6 +3340,8 @@ int S::interface (int) __attribute__ ((ifunc ("_ZN1S8resolverEv")));
Indirect functions cannot be weak. Binutils version 2.20.1 or higher
and GNU C Library version 2.11.1 are required to use this feature.
+@cindex @code{interrupt_handler} function attribute
+@cindex @code{interrupt} function attribute
@item interrupt
@itemx interrupt_handler
Many GCC back ends support attributes to indicate that a function is