[PATCH] D132560: [lld-macho] Add initial support for chained fixups
Daniel Bertalan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 24 07:26:23 PDT 2022
BertalanD created this revision.
BertalanD added a reviewer: lld-macho.
Herald added a subscriber: mgrang.
Herald added projects: lld-macho, All.
BertalanD requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This commit adds support for chained fixups, which were introduced in
Apple's late 2020 OS releases. This format replaces the dyld opcodes
used for supplying rebase and binding information. A high-level overview
of the format and my implementation is found in SyntheticSections.h.
This feature is not enabled by default for now, as further real world
testing is required to ensure there are no regressions.
https://reviews.llvm.org/D132560
Files:
lld/MachO/Arch/ARM64Common.h
lld/MachO/Arch/X86_64.cpp
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/InputSection.cpp
lld/MachO/InputSection.h
lld/MachO/Options.td
lld/MachO/SyntheticSections.cpp
lld/MachO/SyntheticSections.h
lld/MachO/Writer.cpp
lld/test/MachO/chained-fixups-addend.s
lld/test/MachO/chained-fixups-empty.s
lld/test/MachO/flat-namespace-interposable.s
lld/test/MachO/tlv-dylib.s
lld/test/MachO/weak-binding.s
lld/test/MachO/weak-reference.s
llvm/include/llvm/BinaryFormat/MachO.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132560.455202.patch
Type: text/x-patch
Size: 59907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220824/aae5261e/attachment.bin>
More information about the llvm-commits
mailing list