[PATCH] D80857: [lld-macho] Handle GOT relocations of non-dylib symbols

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 23:58:06 PDT 2020


int3 updated this revision to Diff 268066.
int3 added a comment.

make sure to skip over non-dylib symbol entries when generating bind opcodes for GOT


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80857/new/

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.268066.patch
Type: text/x-patch
Size: 11607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200603/b166c106/attachment.bin>


More information about the llvm-commits mailing list