From patchwork Mon Sep 25 08:13:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xi Ruoyao X-Patchwork-Id: 144259 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1052089vqu; Mon, 25 Sep 2023 01:14:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFPi1tSVWhs7AkpWLolu9LX7qvG7nc6wA9q9YIvBGXa88D662AoLtdbe8vmXQIoR+TCj15 X-Received: by 2002:a17:906:74d3:b0:9a1:c447:3c62 with SMTP id z19-20020a17090674d300b009a1c4473c62mr5222069ejl.49.1695629689707; Mon, 25 Sep 2023 01:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695629689; cv=none; d=google.com; s=arc-20160816; b=oAr3xRGciYE1S4yu9o44+yOzCPITlat9uUCCmmJvEC0logbnSZTV+1F8qR6X2oq19N bDdMwHVis2/3xpRFZKKD5XTt4Y0LMvQqPzwV4UxugJTHKMItwQRGf8ItXlwj/SVRjVOX yE8Q3kq6vmZmNscR3vmTIgm2x5wGWqwvZlOYBjSUYji96G/KlpsDolTMysaC6CQG3jkO hFqNF5oBHth+5hFKbo3aNunS6vUXYV/BrBm2Ih/VQxYwmzw8CdxBszz5n0tFqAQBwtr/ 9tMqIp+r+yzNeSRlRvR/c8CumDSPvKCpixEWiuidzzcKeJVh2S6WYF8Q9TOF8tdW/q7F bi3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dmarc-filter:delivered-to; bh=VpNnOOkQNqtq2qOA9XKGAWfn4bFdRwzuAfr4myUY8gs=; fh=oUCfM/eMlWtMCtZZKY1bglzxCo7b3kw9D5LTFFWuz38=; b=WJDh6MuZwGe4JxwKIs0pOx89Fgr6hf+qyhdv0oGfW1wtUchrXMHRJ3Vk5AsFJRYZUY wqZcGvkBNfBsn49fndyRRsFNXB5kb6JbOj0AH639ZjBdhw70jRxymMY9XjcbjZdkTEvU lIjoVuiaoyAF5Mg1r4VNc3bIMzPEGF/JvSacUlr/ru9fgupS6MlVGhGjmRqaTrzPmGA1 YjlBsSeGNZCYI10ui17dTrd2G2Hl2bCec3OphFpmz2PrOVbAZ6aHCXVi+SqeiYT4t2oE 3uVDNNPKuW5Atccry33/66wz8PXRtRJEcMsAHBBUa/KHHsDbMt3OmStNX4wMKHe+kY2v dJKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b="M/SptMTx"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id k10-20020a170906578a00b009ad7f136a6esi8167726ejq.738.2023.09.25.01.14.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 01:14:49 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b="M/SptMTx"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4EF9A3857724 for ; Mon, 25 Sep 2023 08:14:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 97F093858CDA for ; Mon, 25 Sep 2023 08:14:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 97F093858CDA Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1695629657; bh=wyHF0riMvW3F+1xcIXxQK53ffaa8nhxuuuR8KM+fHZ4=; h=From:To:Cc:Subject:Date:From; b=M/SptMTx688Jb8R57OHjEaXjkuofhZhZ1IP62D3oMvfV0yup6kOP6BsDrpdvqfEF/ Eu1xayvKw9NGgZ9jVR3i6gMySweC+gI3FjglhTEdfGAMOfdR5IfaTcHVxDr2tMf4MN N9VCzfRqG42fuoF5hZoauix4KMKciq2Rtcmnmz7g= Received: from stargazer.. (unknown [IPv6:240e:358:11c8:f300:dc73:854d:832e:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 87839659C0; Mon, 25 Sep 2023 04:14:12 -0400 (EDT) From: Xi Ruoyao To: gcc-patches@gcc.gnu.org Cc: chenglulu , i@xen0n.name, xuchenghua@loongson.cn, Xi Ruoyao Subject: [PATCH] LoongArch: doc: Update -m[no-]explicit-relocs for r14-4160 Date: Mon, 25 Sep 2023 16:13:13 +0800 Message-ID: <20230925081312.23061-2-xry111@xry111.site> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, LIKELY_SPAM_FROM, SPF_HELO_PASS, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777996597367850684 X-GMAIL-MSGID: 1777996597367850684 gcc/ChangeLog: * doc/invoke.texi: Update -m[no-]explicit-relocs for r14-4160. --- I've not regtested this as it's only a doc change. Ok for trunk? gcc/doc/invoke.texi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index ba7984bcb7e..146b40414b0 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -26159,10 +26159,12 @@ The default code model is @code{normal}. @itemx -mno-explicit-relocs Use or do not use assembler relocation operators when dealing with symbolic addresses. The alternative is to use assembler macros instead, which may -limit optimization. The default value for the option is determined during -GCC build-time by detecting corresponding assembler support: -@code{-mexplicit-relocs} if said support is present, -@code{-mno-explicit-relocs} otherwise. This option is mostly useful for +limit instruction scheduling but allow linker relaxation. The default +value for the option is determined during GCC build-time by detecting +corresponding assembler support: +@code{-mno-explicit-relocs} if the assembler supports relaxation or it +does not support relocation operators at all, +@code{-mexplicit-relocs} otherwise. This option is mostly useful for debugging, or interoperation with assemblers different from the build-time one.