[PATCH] D94809: [LLD][ELF][AArch64] Set _GLOBAL_OFFSET_TABLE_ at the start of .got
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 10:38:00 PST 2021
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Confirmed.
aarch64-linux-gnu-gcc -nostdlib -shared a.c -fpic -o a.so
clang -target aarch64-linux-gnu -fuse-ld=lld -nostdlib -shared a.c -fpic -o a.so
The previous one does use `.got` for `_GLOBAL_OFFSET_TABLE_`. Thanks for spotting this issue.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94809/new/
https://reviews.llvm.org/D94809
More information about the llvm-commits
mailing list