[PATCH] D87852: [lld-macho] Allow the entry symbol to be dynamically bound

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 12:53:17 PDT 2020


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
int3 requested review of this revision.

Apparently this is used in real programs. I've handled this by reusing
the logic we already have for branch (function call) relocations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87852

Files:
  lld/MachO/Arch/X86_64.cpp
  lld/MachO/Driver.cpp
  lld/MachO/SyntheticSections.cpp
  lld/MachO/SyntheticSections.h
  lld/MachO/Writer.cpp
  lld/test/MachO/entry-symbol.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87852.292594.patch
Type: text/x-patch
Size: 7834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200917/9c721267/attachment.bin>


More information about the llvm-commits mailing list