From patchwork Mon Jun 26 22:07:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 113134 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp7784055vqr; Mon, 26 Jun 2023 15:08:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5tqpLhS+hjikz9ERiwGQqhqL7kV0thBOMas1s7lrgROOT+rvQzKVrBzUx6sDKq/YdkNz1F X-Received: by 2002:a05:6512:318c:b0:4f3:b258:fee4 with SMTP id i12-20020a056512318c00b004f3b258fee4mr3189903lfe.59.1687817312543; Mon, 26 Jun 2023 15:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687817312; cv=none; d=google.com; s=arc-20160816; b=MZF4aiR6nazgmZ/BNTaol+8SF+R06jw+YKm0mOF5zt/bk+q+k6vzvCIyGy7mBg+LDL dg9XTDD+vibWpx1u2cSXmjIyZ/joGc3SRtoEiKpeRe/TUlZiaU2yBK/3TdlsDLb7BsrC MNeWT19BLeqd9lLFi+oNdS0PvNj1ksTZUdr96BDEwx7YmIiH3dS8lhozVdeuzMyQ2Zs8 VNrRn1ArCxtomlx54nPuu3g1MX4vyW5Lgbw036fNYRdWyVFbPyW1bpKpkcRMVIrq6ls4 mZIbaJsfMFw2A6mWn/+ffMBaRjfskU5RHBG3oudIqNyPaMyIoxkkArjwgAgOEsZbHeXz u1jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=RYrFh/4OBSk4vEr1Bpe3o/cvrq2E5xgwRaM3F3pevIY=; fh=XbcmRug6/SzczusyoNU1I7Lu5oY0AN2u0mWDzKoxdSs=; b=we7jLPh5crMPUYvPK534fHIDzwHstY86VRDnrlRvDbhKDDDq/l5IwaGkSu1YEklcmu q9upbj9v1WQKIc1SbiDhZ8YTfNiof4Gji6sP2aDxzLAWp7LwxBifTVVhyx+AMRLcStK3 CrQRnXNhzhVE9m7O579MNEmVylBm9e7SMqnXxZG4zoxUFZ1TkFPFm6pjK9APv4Zt/ifE s1T+ESyciPZfPARjReblQjdzl2I0s06qoWgxTGy2ytRgtDQLfUfzuXxKV9pzEafCigit z7qR3C7LI4NzEa5uysvhbT2p1kHDPtFG+6l5oH4woss179566NuwQHir2IbkbitEvzd2 9DCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=pvTQXgic; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id b11-20020aa7cd0b000000b005187b671afcsi2978244edw.665.2023.06.26.15.08.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 15:08:32 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=pvTQXgic; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BA5933858C2A for ; Mon, 26 Jun 2023 22:08:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA5933858C2A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687817310; bh=RYrFh/4OBSk4vEr1Bpe3o/cvrq2E5xgwRaM3F3pevIY=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=pvTQXgicxqnCx+Q6howmBSBwjLxDLst12mEh8Sn/hFsdumbn3vYd3pSwZC1vL1IcM C6+HT5cqDYrFPrbMtHiJOBI2+DH5C6E1LopKd7EzKDdOffWLgIPPv8P5v/gSoXh4tv WsWBAHPqRx3YTNZYcN5y762hcyWRwinex9DqOZfE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by sourceware.org (Postfix) with ESMTPS id 054023858D1E for ; Mon, 26 Jun 2023 22:07:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 054023858D1E Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35QM3h8S023545 for ; Mon, 26 Jun 2023 15:07:48 -0700 Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3rdwunqpq9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 26 Jun 2023 15:07:47 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 26 Jun 2023 15:07:46 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 26 Jun 2023 15:07:46 -0700 Received: from vpnclient.wrightpinski.org.com (unknown [10.76.242.112]) by maili.marvell.com (Postfix) with ESMTP id A880D3F7052; Mon, 26 Jun 2023 15:07:45 -0700 (PDT) To: CC: Andrew Pinski Subject: [Committed] docs: Add @cindex for some attributes Date: Mon, 26 Jun 2023 15:07:37 -0700 Message-ID: <20230626220737.24643-1-apinski@marvell.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Proofpoint-GUID: LhMTn3cBdAqi7FV0azKHU3eC4i4wZDdC X-Proofpoint-ORIG-GUID: LhMTn3cBdAqi7FV0azKHU3eC4i4wZDdC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-26_18,2023-06-26_03,2023-05-22_02 X-Spam-Status: No, score=-14.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Andrew Pinski via Gcc-patches From: Andrew Pinski Reply-To: Andrew Pinski Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769804726535563559?= X-GMAIL-MSGID: =?utf-8?q?1769804726535563559?= 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. --- gcc/doc/extend.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 3040a9bdea6..05afd9ae3d9 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