Darwin dynamic linker can handle weak symbols in ConstDataSection.
ReadonReadOnlyWithRel symbols should be emitted in ConstDataSection
instead of normal DataSection.
rdar://problem/39298457
Paths
| Differential D45472
[MachO] Emit Weak ReadOnlyWithRel to ConstDataSection ClosedPublic Authored by steven_wu on Apr 9 2018, 6:41 PM.
Details Summary Darwin dynamic linker can handle weak symbols in ConstDataSection. rdar://problem/39298457
Diff Detail
Event TimelineComment Actions Have you confirmed this doesn't need to depend on the deployment target? I.e., do we need the old logic sometimes when back-deploying? Otherwise LGTM. Closed by commit rL329752: [MachO] Emit Weak ReadOnlyWithRel to ConstDataSection (authored by steven_wu). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 141896 llvm/trunk/include/llvm/MC/MCObjectFileInfo.h
llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/trunk/lib/MC/MCObjectFileInfo.cpp
llvm/trunk/test/CodeGen/X86/global-sections.ll
|