summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-03-27 20:41:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-03-27 20:41:17 +0000
commit9ab380122ae408aa35c3cf02a1f513459bea7f67 (patch)
tree861d3f5855f5f38195cfb9a39e080f1d7c6f31a8 /llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
parent0702d02b319405f4d70a381034e21c9c62a0cbc3 (diff)
downloadbcm5719-llvm-9ab380122ae408aa35c3cf02a1f513459bea7f67.tar.gz
bcm5719-llvm-9ab380122ae408aa35c3cf02a1f513459bea7f67.zip
Remove unused argument.
llvm-svn: 204956
Diffstat (limited to 'llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
index ddc1379e340..6fa81ec91ad 100644
--- a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
+++ b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
@@ -25,8 +25,7 @@ public:
protected:
// Override MCELFObjectTargetWriter.
unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
- bool IsPCRel, bool IsRelocWithSymbol,
- int64_t Addend) const override;
+ bool IsPCRel, bool IsRelocWithSymbol) const override;
const MCSymbol *ExplicitRelSym(const MCAssembler &Asm, const MCValue &Target,
const MCFragment &F, const MCFixup &Fixup,
bool IsPCRel) const override;
@@ -84,10 +83,8 @@ static unsigned getPLTReloc(unsigned Kind) {
}
unsigned SystemZObjectWriter::GetRelocType(const MCValue &Target,
- const MCFixup &Fixup,
- bool IsPCRel,
- bool IsRelocWithSymbol,
- int64_t Addend) const {
+ const MCFixup &Fixup, bool IsPCRel,
+ bool IsRelocWithSymbol) const {
MCSymbolRefExpr::VariantKind Modifier = Fixup.getAccessVariant();
unsigned Kind = Fixup.getKind();
switch (Modifier) {
OpenPOWER on IntegriCloud