[ELF] Simpler scheme for handling common symbols
authorBen Dunbobbin <bd1976llvm@gmail.com>
Fri, 29 Sep 2017 09:08:26 +0000 (09:08 +0000)
committerBen Dunbobbin <bd1976llvm@gmail.com>
Fri, 29 Sep 2017 09:08:26 +0000 (09:08 +0000)
commit73eabf23a491c81bec790ce73414ba66bf0846f6
treedc4b913291dc6b1128dac080d91679d6fa70b729
parent6150419d7161defbba157d0d92b98070f2a9d63b
[ELF] Simpler scheme for handling common symbols

Convert all common symbols to regular symbols after scan.
This means that the downstream code does not to handle common symbols as a special case.

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

llvm-svn: 314495
lld/ELF/Driver.cpp
lld/ELF/MarkLive.cpp
lld/ELF/Symbols.cpp
lld/ELF/Symbols.h
lld/ELF/SyntheticSections.cpp
lld/ELF/SyntheticSections.cpp~RF2791d30b.TMP [new file with mode: 0644]
lld/ELF/SyntheticSections.h
lld/ELF/Writer.cpp