Common symbols are now represented with a DefinedRegular that points
to a BssSection, even during symbol resolution.
Depends on D39394
Paths
| Differential D39666
ELF: Remove DefinedCommon. ClosedPublic Authored by pcc on Nov 5 2017, 2:02 PM.
Details Summary Common symbols are now represented with a DefinedRegular that points Depends on D39394
Diff Detail
Event TimelineComment Actions LGTM Very nice improvement! I haven't thought of this approach before, but this totally makes sense to me. If you need my patch, please commit it.
This revision is now accepted and ready to land.Nov 5 2017, 2:32 PM
Closed by commit rL317447: ELF: Remove DefinedCommon. (authored by pcc). · Explain WhyNov 5 2017, 8:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 121677 lld/trunk/ELF/Driver.cpp
lld/trunk/ELF/InputSection.h
lld/trunk/ELF/SymbolTable.cpp
lld/trunk/ELF/Symbols.h
lld/trunk/ELF/Symbols.cpp
lld/trunk/ELF/SyntheticSections.h
lld/trunk/ELF/SyntheticSections.cpp
lld/trunk/test/ELF/relocatable-common.s
|