From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Content-Transfer-Encoding: 8bit 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 List-Id: 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. -- 2.42.0