From patchwork Mon Jul 18 15:51:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 56130 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 657313851A9F for ; Mon, 18 Jul 2022 15:51:58 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by sourceware.org (Postfix) with ESMTPS id D4601385840F for ; Mon, 18 Jul 2022 15:51:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D4601385840F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-lj1-x234.google.com with SMTP id u15so14086498lji.10 for ; Mon, 18 Jul 2022 08:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:subject:message-id:user-agent:mime-version; bh=4cyX0BfG57hpjemXImYXeDeAxmrumvpqsj0dpD23d6A=; b=bSbz+xs0+8xqk/5p+DeUHtzoEAUmAccIxpei6MKA2czTEPG5vEdT+uyzHnpHOhfDZl tVCfZIKvJXaeZLIrrC3XbsU0HcPEKT56IJ08UTI91ZGeo8wuVq6ygTRYwNDMY8eTOU0+ s2fP3pdbZ1KfbebjtRmi7TmzTNVusbb8m6RX5Y/IFA/bonjmmNzZ114u1X11gqaY/QfQ pRm62faEIhFJdrRtYWKJzkgGSSQSBRjMPRLmbTjxKnPWx+n0hhinpn0T7AWH/H1dTgau iAoyKJtMpi2sU9kX+4BAnfoV/WQ80wxiaZbLv4+WkZkhyinZIAVLZHaHRG09vMXNiBO2 ywfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:user-agent :mime-version; bh=4cyX0BfG57hpjemXImYXeDeAxmrumvpqsj0dpD23d6A=; b=7HLj2vTMBc/zxZ86Y/SV8KYaa+6NY1eauV2vGt89YADRYxoqdvFQVZgqdKSPvUikSX 9Vjg+oFcdONzsIz3AEiGbEeuPFqWMNzzISBy7QBzxVU8yxJGY4MT3+r/b4j8WVRrNMmg AYsAnmb3kCUop1Bq58AYt/riBnnwsVvNTPsrzQcNPD0u2yDXRGV9tHpGj1C+9Tp2I6kV cXZPL+X8Lu+8++9JBYSdenYin5kHvwC0uZ3jgiqKbbIsnliu1bZ9+iqql2G5b7XZ+2XL 373TObIoZjhEVH64+91cyn1gX1yhxlOtdC63qWebh9QB9DnnB/jF8BpLc29k8Jx4rDr4 z2Pg== X-Gm-Message-State: AJIora8Q6eUHAvpCHWhA9IWzNkXvLCYMgyHkH8/F5DFxnR/FHmmAY8Cf vW4Ca09QicyK3kw7IkHfWkf8p2DezVmeDg== X-Google-Smtp-Source: AGRyM1v2QqcRO/Dq73mqre/FLBjE5uTnCsIfqtTi1GlfM/A1q8NWV+ENsjV82lxwUTnlJ587Q3hAYw== X-Received: by 2002:a2e:a305:0:b0:25d:7d56:8804 with SMTP id l5-20020a2ea305000000b0025d7d568804mr12682271lje.129.1658159500463; Mon, 18 Jul 2022 08:51:40 -0700 (PDT) Received: from [192.168.219.3] ([78.8.192.131]) by smtp.gmail.com with ESMTPSA id a4-20020ac25e64000000b00489e5ba2e26sm2666061lfr.63.2022.07.18.08.51.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2022 08:51:39 -0700 (PDT) Date: Mon, 18 Jul 2022 16:51:35 +0100 (BST) From: "Maciej W. Rozycki" To: gcc-patches@gcc.gnu.org Subject: [committed] RISC-V/doc: Add index references for `mrelax' and `mriscv-attribute' Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Add missing index references for the `-mrelax' and `-mriscv-attribute' invocation options. gcc/ * doc/invoke.texi (RISC-V Options): Add index references for `mrelax' and `mriscv-attribute'. --- Hi, Verified with `make info pdf' and committed as obvious. Maciej --- gcc/doc/invoke.texi | 2 ++ 1 file changed, 2 insertions(+) gcc-riscv-doc-opindex.diff Index: gcc/gcc/doc/invoke.texi =================================================================== --- gcc.orig/gcc/doc/invoke.texi +++ gcc/gcc/doc/invoke.texi @@ -28170,12 +28170,14 @@ limit optimization. @item -mrelax @itemx -mno-relax +@opindex mrelax Take advantage of linker relaxations to reduce the number of instructions required to materialize symbol addresses. The default is to take advantage of linker relaxations. @item -mriscv-attribute @itemx -mno-riscv-attribute +@opindex mriscv-attribute Emit (do not emit) RISC-V attribute to record extra information into ELF objects. This feature requires at least binutils 2.32.