question: i386 ld.gold reports "internal error" linking files with SHT_RELA section

Xi Ruoyao xry111@xry111.site
Thu Sep 1 00:47:00 GMT 2022


On Wed, 2022-08-31 at 12:20 -0700, H.J. Lu wrote:

> It just works with ld.bfd by accident.  A linker, like gold, can disallow RELA
> relocation.  A linker, like lld, can use addend in RELA relocation and addend
> at the relocation offset is ignored.

Thanks, we've reported the issue to NASM:
https://bugzilla.nasm.us/show_bug.cgi?id=3392807

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the Binutils mailing list