[PATCH] D138135: [lld][ELF] Support LoongArch
WÁNG Xuěruì via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 02:12:26 PDT 2023
xen0n added a comment.
In D138135#4531221 <https://reviews.llvm.org/D138135#4531221>, @xen0n wrote:
> In D138135#4531199 <https://reviews.llvm.org/D138135#4531199>, @xry111 wrote:
>
>> A question: does LLD automatically supports `pack-relative-relocs` once a new port is added? I'm trying to implement it for LoongArch BFD linker but it seems I don't have enough skill.
>
> It seems to be the case. Last time I did the Gentoo LLVM bootstrap I saw binaries full with `DT_RELR` (I didn't remember if I manually forced the flag or not; Gentoo seems to enable it in some base profile anyway) and the glibc rtld consumed them just fine.
I've just confirmed with a fresh QEMU build that the support is indeed working end-to-end.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138135/new/
https://reviews.llvm.org/D138135
More information about the llvm-commits
mailing list