HomePhabricator

[lld-macho] Support absolute symbols

Authored by int3 on Sep 18 2020, 8:40 AM.

Description

[lld-macho] Support absolute symbols

They operate like Defined symbols but with no associated InputSection.

Note that ld64 seems to treat the weak definition flag like a no-op for
absolute symbols, so I have replicated that behavior.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D87909

Details

Committed
int3Sep 25 2020, 11:28 AM
Reviewer
Restricted Project
Differential Revision
D87909: [lld-macho] Support absolute symbols
Parents
rGc7c9776f7771: [lld-macho] Allow the entry symbol to be dynamically bound
Branches
Unknown
Tags
Unknown