summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-03-27 20:49:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-03-27 20:49:35 +0000
commitc03f44ca8a20002f12891d75bb27313086457954 (patch)
treeb8cea7e4c033ab54faf8f6d937a2c3c69f0d883e /llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
parenta3c3b8104d13f61f3aaadd0a9872db21f8381607 (diff)
downloadbcm5719-llvm-c03f44ca8a20002f12891d75bb27313086457954.tar.gz
bcm5719-llvm-c03f44ca8a20002f12891d75bb27313086457954.zip
Remove another unused argument.
llvm-svn: 204961
Diffstat (limited to 'llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp')
-rw-r--r--llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp b/llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
index dd41ddf6c98..ce763367e29 100644
--- a/llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
+++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
@@ -40,7 +40,7 @@ namespace {
virtual ~MipsELFObjectWriter();
unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
- bool IsPCRel, bool IsRelocWithSymbol) const override;
+ bool IsPCRel) const override;
virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
const MCValue &Target,
const MCFragment &F,
@@ -76,8 +76,7 @@ const MCSymbol *MipsELFObjectWriter::ExplicitRelSym(const MCAssembler &Asm,
unsigned MipsELFObjectWriter::GetRelocType(const MCValue &Target,
const MCFixup &Fixup,
- bool IsPCRel,
- bool IsRelocWithSymbol) const {
+ bool IsPCRel) const {
// determine the type of the relocation
unsigned Type = (unsigned)ELF::R_MIPS_NONE;
unsigned Kind = (unsigned)Fixup.getKind();
OpenPOWER on IntegriCloud