projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e5d9e
)
--discard-locals should be --discard-all here.
author
Davide Italiano
<davide@freebsd.org>
Mon, 20 Apr 2015 22:54:50 +0000
(22:54 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Mon, 20 Apr 2015 22:54:50 +0000
(22:54 +0000)
Sorry for the mistake/confusion.
llvm-svn: 235359
lld/lib/ReaderWriter/ELF/SectionChunks.cpp
patch
|
blob
|
history
diff --git
a/lld/lib/ReaderWriter/ELF/SectionChunks.cpp
b/lld/lib/ReaderWriter/ELF/SectionChunks.cpp
index
ea3f8c2
..
76690f0
100644
(file)
--- a/
lld/lib/ReaderWriter/ELF/SectionChunks.cpp
+++ b/
lld/lib/ReaderWriter/ELF/SectionChunks.cpp
@@
-484,7
+484,7
@@
void SymbolTable<ELFT>::addSymbol(const Atom *atom, int32_t sectionIndex,
else
addUndefinedAtom(symbol, dyn_cast<UndefinedAtom>(atom));
- // If --discard-
loca
l is on, don't add to the symbol table
+ // If --discard-
al
l is on, don't add to the symbol table
// symbols with local binding.
if (this->_ctx.discardLocals() && symbol.getBinding() == llvm::ELF::STB_LOCAL)
return;