projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove a trivial forwarding function. NFC.
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MCTargetDesc
/
MipsELFObjectWriter.cpp
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
b/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
index 8d9e3e31105ea72bdc6a9999be383ef82f4678b5..ea3f975c301395585ad0ed5bee90de2a7f511f41 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
+++ b/
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
@@
-271,7
+271,7
@@
static unsigned getMatchingLoType(const MCAssembler &Asm,
if (Type == ELF::R_MIPS16_HI16)
return ELF::R_MIPS16_LO16;
- const MCSymbolData &SD =
Asm.getSymbolData(*Reloc.Symbol
);
+ const MCSymbolData &SD =
Reloc.Symbol->getData(
);
if (MCELF::GetBinding(SD) != ELF::STB_LOCAL)
return ELF::R_MIPS_NONE;