[PATCH] D80857: [lld-macho] Handle GOT relocations of non-dylib symbols
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 29 21:46:30 PDT 2020
int3 created this revision.
int3 added reviewers: ruiu, pcc, MaskRay, smeenai, alexshap, gkm, Ktwu, christylee.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Turns out this case is actually really common -- it happens whenever there's
a reference to an `extern` variable that ends up statically linked.
Depends on D80856 <https://reviews.llvm.org/D80856>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80857
Files:
lld/MachO/Arch/X86_64.cpp
lld/MachO/InputSection.cpp
lld/MachO/Symbols.h
lld/MachO/SyntheticSections.cpp
lld/MachO/SyntheticSections.h
lld/MachO/Target.h
lld/MachO/Writer.cpp
lld/test/MachO/local-got.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80857.267432.patch
Type: text/x-patch
Size: 10423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200530/3f669811/attachment.bin>
More information about the llvm-commits
mailing list