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 083453858439 for ; Tue, 19 Jul 2022 06:34:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 083453858439 Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (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 5B00966A8B; Tue, 19 Jul 2022 02:34:47 -0400 (EDT) Message-ID: <9098770e2916ac7f35199a5accd9c0ac663edb1d.camel@xry111.site> Subject: Re: Re: [PATCH 1/5 v1] LoongArch: bfd: Add new reloc types. From: Xi Ruoyao To: =?gb2312?Q?=C1=F5=D5=F1=CB=C9?= Cc: binutils@sourceware.org, xuchenghua@loongson.cn, mengqinggang@loongson.cn, WANG Xuerui Date: Tue, 19 Jul 2022 14:34:45 +0800 In-Reply-To: <604275f7.62a5.18215277298.Coremail.liuzhensong@loongson.cn> References: <20220718084316.390672-1-liuzhensong@loongson.cn> <46caab90f1c0dd619ce2d609ba7038dd8ca8e179.camel@xry111.site> <604275f7.62a5.18215277298.Coremail.liuzhensong@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, BODY_8BITS, 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2022 06:34:53 -0000 On Tue, 2022-07-19 at 14:31 +0800, =E5=88=98=E6=8C=AF=E6=9D=BE wrote: > Your modification is correct, this code valid for > R_LARCH_SOP_PUSH_GPREL. > I have tested glibc testcases, there is no failed testcase about > ifunc, does your environment generate new relocations? I guess it's because I only installed new ld (make install-ld), without new as. So my as still generates R_LARCH_SOP_PUSH_GPREL. > Results of glibc with test args "make check subdirs=3Delf". > UNSUPPORTED: elf/tst-env-setuid > UNSUPPORTED: elf/tst-env-setuid-tunables > XPASS: elf/tst-protected1a > XPASS: elf/tst-protected1b > UNSUPPORTED: elf/tst-valgrind-smoke --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University