Note that it's only used for non-pc-relative contexts.
Depends on D79926.
Paths
| Differential D80048
[lld-macho] Support X86_64_RELOC_UNSIGNED ClosedPublic Authored by int3 on May 15 2020, 4:27 PM.
Details
Diff Detail
Event Timelineint3 added a child revision: D80049: [lld-macho] Add some relocation validation logic.May 15 2020, 4:29 PM Comment Actions ld64 emits an entry in the rebase table so that the relocation can be adjusted for whatever the final load address ends up being. (I'm assuming it does this for all non-pcrel relocations.) Certainly not something we need to support in this diff, but we should add a TODO. LGTM.
This revision is now accepted and ready to land.May 15 2020, 5:19 PM Closed by commit rG1f820e35596b: [lld-macho] Support X86_64_RELOC_UNSIGNED (authored by int3). · Explain WhyMay 19 2020, 8:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 264918 lld/MachO/Arch/X86_64.cpp
lld/MachO/InputFiles.cpp
lld/MachO/InputSection.h
lld/MachO/InputSection.cpp
lld/MachO/Target.h
lld/test/MachO/x86-64-reloc-unsigned.s
|
unrelated?