summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-04-27 00:05:06 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-04-27 00:05:06 +0000
commit60976ed7c0703903bda664afa29d1752f8ba9c0c (patch)
treead75c855ee906b25822d23c67afa1ca2209c839d /lld/ELF/OutputSections.cpp
parent892d4980171333c96e50859c716f9dd5ea313ae3 (diff)
downloadbcm5719-llvm-60976ed7c0703903bda664afa29d1752f8ba9c0c.tar.gz
bcm5719-llvm-60976ed7c0703903bda664afa29d1752f8ba9c0c.zip
ELF: Merge UndefinedBitcode and UndefinedElf. NFC.
Differential Revision: http://reviews.llvm.org/D19566 llvm-svn: 267640
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r--lld/ELF/OutputSections.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 29890d52f48..6faabdfb39a 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -1503,8 +1503,7 @@ SymbolTableSection<ELFT>::getOutputSection(SymbolBody *Sym) {
if (cast<SharedSymbol<ELFT>>(Sym)->needsCopy())
return Out<ELFT>::Bss;
break;
- case SymbolBody::UndefinedElfKind:
- case SymbolBody::UndefinedBitcodeKind:
+ case SymbolBody::UndefinedKind:
case SymbolBody::LazyArchiveKind:
case SymbolBody::LazyObjectKind:
break;
OpenPOWER on IntegriCloud