@@ -25,23 +25,23 @@ using namespace llvm;
25
25
26
26
namespace {
27
27
28
- class ARMELFObjectWriter : public MCELFObjectTargetWriter {
29
- enum { DefaultEABIVersion = 0x05000000U };
28
+ class ARMELFObjectWriter : public MCELFObjectTargetWriter {
29
+ enum { DefaultEABIVersion = 0x05000000U };
30
30
31
- unsigned GetRelocTypeInner (const MCValue &Target, const MCFixup &Fixup,
32
- bool IsPCRel, MCContext &Ctx ) const ;
31
+ unsigned getRelocTypeInner (const MCValue &Target, const MCFixup &Fixup,
32
+ bool IsPCRel) const ;
33
33
34
- public:
35
- ARMELFObjectWriter (uint8_t OSABI);
34
+ public:
35
+ ARMELFObjectWriter (uint8_t OSABI);
36
36
37
- ~ARMELFObjectWriter () override = default ;
37
+ ~ARMELFObjectWriter () override = default ;
38
38
39
- unsigned getRelocType (MCContext &Ctx, const MCValue &Target,
40
- const MCFixup &Fixup, bool IsPCRel) const override ;
39
+ unsigned getRelocType (MCContext &Ctx, const MCValue &Target,
40
+ const MCFixup &Fixup, bool IsPCRel) const override ;
41
41
42
- bool needsRelocateWithSymbol (const MCValue &Val, const MCSymbol &Sym,
43
- unsigned Type) const override ;
44
- };
42
+ bool needsRelocateWithSymbol (const MCValue &Val, const MCSymbol &Sym,
43
+ unsigned Type) const override ;
44
+ };
45
45
46
46
} // end anonymous namespace
47
47
@@ -72,13 +72,12 @@ bool ARMELFObjectWriter::needsRelocateWithSymbol(const MCValue &,
72
72
unsigned ARMELFObjectWriter::getRelocType (MCContext &Ctx, const MCValue &Target,
73
73
const MCFixup &Fixup,
74
74
bool IsPCRel) const {
75
- return GetRelocTypeInner (Target, Fixup, IsPCRel, Ctx );
75
+ return getRelocTypeInner (Target, Fixup, IsPCRel);
76
76
}
77
77
78
- unsigned ARMELFObjectWriter::GetRelocTypeInner (const MCValue &Target,
78
+ unsigned ARMELFObjectWriter::getRelocTypeInner (const MCValue &Target,
79
79
const MCFixup &Fixup,
80
- bool IsPCRel,
81
- MCContext &Ctx) const {
80
+ bool IsPCRel) const {
82
81
unsigned Kind = Fixup.getTargetKind ();
83
82
uint8_t Specifier = Target.getSpecifier ();
84
83
auto CheckFDPIC = [&](uint32_t Type) {
0 commit comments