From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by sourceware.org (Postfix) with ESMTPS id A74CB38362CE for ; Thu, 1 Sep 2022 00:47:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A74CB38362CE 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=1661993229; bh=op+SC/E9X9+IlRqXdEnk/9E3L5DJ2rDee4pKhnFZYU8=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=cIYVWjYk1CFkMnSE28zmoocib1hIx+6EO+Hn0/L4H6j1k9TRBe0NcO44L/pk/Y0f2 o2zZLq45kwNUj1BJ5/liRVOfsmtfsqjM85o+9sJH3LKq0BCr8Lxuc6EwgoPg75cMVZ wSy6cbYZgi/EZLcsm8NNBFdRdTTXLmIAuta64PQk= Received: from [IPv6:240e:358:118a:f800:dc73:854d:832e:4] (unknown [IPv6:240e:358:118a:f800:dc73:854d:832e:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384)) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id DEE6F65C5C; Wed, 31 Aug 2022 20:47:06 -0400 (EDT) Message-ID: Subject: Re: question: i386 ld.gold reports "internal error" linking files with SHT_RELA section From: Xi Ruoyao To: "H.J. Lu" Cc: Pierre Labastie , Binutils Date: Thu, 01 Sep 2022 08:47:00 +0800 In-Reply-To: References: <199ec63c39a4a323e93402277c1cc67f5c8216bf.camel@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.45.2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD,KAM_INFOUSMEBIZ,LIKELY_SPAM_FROM,PDS_OTHER_BAD_TLD,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, 2022-08-31 at 12:20 -0700, H.J. Lu wrote: > It just works with ld.bfd by accident.=C2=A0 A linker, like gold, can dis= allow RELA > relocation.=C2=A0 A linker, like lld, can use addend in RELA relocation a= nd addend > at the relocation offset is ignored. Thanks, we've reported the issue to NASM: https://bugzilla.nasm.us/show_bug.cgi?id=3D3392807 --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University