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 4E7AC385841D for ; Wed, 27 Jul 2022 02:22:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4E7AC385841D Received: from [IPv6:240e:358:1119:7700:dc73:854d:832e:3] (unknown [IPv6:240e:358:1119:7700:dc73:854d:832e:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) 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 A744E6684C; Tue, 26 Jul 2022 22:22:28 -0400 (EDT) Message-ID: <382d0c49e445078dca7fb646c989e61de093d7e0.camel@xry111.site> Subject: Re: [PATCH] LoongArch: adjust the default of -mexplicit-relocs by checking gas feature From: Xi Ruoyao To: Lulu Cheng , gcc-patches@gcc.gnu.org Cc: xuchenghua@loongson.cn, Wang Xuerui Date: Wed, 27 Jul 2022 10:22:19 +0800 In-Reply-To: References: <20220726072119.2910839-1-chenglulu@loongson.cn> <25a7d2fcac8194083e58ed960eaf0f42dafc0559.camel@xry111.site> <93f7b58a-d7a7-543a-21e1-19d237593426@loongson.cn> <653cf06d-da9c-419d-8c70-55962163b155@loongson.cn> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.3 MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FROM_SUSPICIOUS_NTLD, LIKELY_SPAM_FROM, PDS_OTHER_BAD_TLD, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no 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-List-Received-Date: Wed, 27 Jul 2022 02:22:38 -0000 On Wed, 2022-07-27 at 09:34 +0800, Lulu Cheng wrote: > > -- >8 -- > >=20 > > The assembly produced with -mexplicit-relocs is not supported by gas > > <=3D > > 2.39.=C2=A0 Check if the assembler supports explicit relocations and se= t > > the > > default accordingly. > Looks good to me. Pushed r13-1851.