diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-05-29 18:47:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-05-29 18:47:23 +0000 |
commit | e3b2acf2743f957bf084e7d4bbcf61c8f21817ea (patch) | |
tree | 130e25b196dbd5aa6e1e454cf7719087080d427c /llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp | |
parent | 223dd95f248f37a27ab5e720dbb21fc5997117f1 (diff) | |
download | bcm5719-llvm-e3b2acf2743f957bf084e7d4bbcf61c8f21817ea.tar.gz bcm5719-llvm-e3b2acf2743f957bf084e7d4bbcf61c8f21817ea.zip |
Pass MCSymbols to the helper functions in MCELF.h.
llvm-svn: 238596
Diffstat (limited to 'llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp b/llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp index d2b51831245..8abd93bd668 100644 --- a/llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp +++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp @@ -42,11 +42,11 @@ void MipsELFStreamer::createPendingLabelRelocs() { // FIXME: Also mark labels when in MIPS16 mode. if (ELFTargetStreamer->isMicroMipsEnabled()) { for (auto Label : Labels) { - MCSymbolData &Data = getOrCreateSymbolData(Label); + getOrCreateSymbolData(Label); // The "other" values are stored in the last 6 bits of the second byte. // The traditional defines for STO values assume the full byte and thus // the shift to pack it. - MCELF::setOther(Data, ELF::STO_MIPS_MICROMIPS >> 2); + MCELF::setOther(*Label, ELF::STO_MIPS_MICROMIPS >> 2); } } |