OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
add75cc
)
MC: Remove dead code. NFCI.
author
Peter Collingbourne
<peter@pcc.me.uk>
Tue, 8 May 2018 22:59:05 +0000
(22:59 +0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Tue, 8 May 2018 22:59:05 +0000
(22:59 +0000)
We should never emit an SHT_DYNSYM into an object file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331821
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/ELFObjectWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/ELFObjectWriter.cpp
b/lib/MC/ELFObjectWriter.cpp
index
ec4f86f
..
2255d05
100644
(file)
--- a/
lib/MC/ELFObjectWriter.cpp
+++ b/
lib/MC/ELFObjectWriter.cpp
@@
-1149,7
+1149,6
@@
void ELFObjectWriter::writeSection(const SectionIndexMapTy &SectionIndexMap,
}
case ELF::SHT_SYMTAB:
- case ELF::SHT_DYNSYM:
sh_link = StringTableIndex;
sh_info = LastLocalSymbolIndex;
break;