summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-06-02 21:30:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-06-02 21:30:13 +0000
commit0ccf9b71f3559f55ef228520686ad3619f83c606 (patch)
tree4d8476d6711b5e985683f3864048adfb5b7f2652 /llvm/lib/MC/ELFObjectWriter.cpp
parent62431b1d71e20025129f260da0a15a2f55768cc9 (diff)
downloadbcm5719-llvm-0ccf9b71f3559f55ef228520686ad3619f83c606.tar.gz
bcm5719-llvm-0ccf9b71f3559f55ef228520686ad3619f83c606.zip
Pass a MCSymbolELF to a few ELF only functions. NFC.
llvm-svn: 238868
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/ELFObjectWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp
index 7d15f17684e..d0bdfc15cde 100644
--- a/llvm/lib/MC/ELFObjectWriter.cpp
+++ b/llvm/lib/MC/ELFObjectWriter.cpp
@@ -1242,7 +1242,7 @@ void ELFObjectWriter::WriteObject(MCAssembler &Asm,
// Remember the offset into the file for this section.
uint64_t SecStart = OS.tell();
- const MCSymbol *SignatureSymbol = Section.getGroup();
+ const MCSymbolELF *SignatureSymbol = Section.getGroup();
writeSectionData(Asm, Section, Layout);
uint64_t SecEnd = OS.tell();
OpenPOWER on IntegriCloud