ELF: Remove DefinedCommon.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 6 Nov 2017 04:33:58 +0000 (04:33 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 6 Nov 2017 04:33:58 +0000 (04:33 +0000)
commit6c55a708381cd9583e3faaa73b50baf0a733ec01
tree531a27d8bdc974e6105e16d5eb678360101078f7
parent32665f702ec00d2e4953bf97ea421fbac17fc1af
ELF: Remove DefinedCommon.

Common symbols are now represented with a DefinedRegular that points
to a BssSection, even during symbol resolution.

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

llvm-svn: 317447
lld/ELF/Driver.cpp
lld/ELF/InputSection.h
lld/ELF/SymbolTable.cpp
lld/ELF/Symbols.cpp
lld/ELF/Symbols.h
lld/ELF/SyntheticSections.cpp
lld/ELF/SyntheticSections.h
lld/test/ELF/relocatable-common.s