aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-12-22 02:58:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-12-22 02:58:12 +0000
commit84d00f11cd2e98a7c4f8f050395f3d97722681ca (patch)
tree36468ac6f6f7d6de1d341608da0c531d0f81a971 /llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
parent1b7e2baf47755ce9b4d64cb599d0a7f42bf5ab15 (diff)
downloadllvm-84d00f11cd2e98a7c4f8f050395f3d97722681ca.zip
llvm-84d00f11cd2e98a7c4f8f050395f3d97722681ca.tar.gz
llvm-84d00f11cd2e98a7c4f8f050395f3d97722681ca.tar.bz2
Make the virtual methods in ARMELFObjectWriter public.
llvm-svn: 147132
Diffstat (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp')
-rw-r--r--llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
index 0cea32b..4ffaa52 100644
--- a/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
+++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
@@ -23,12 +23,6 @@ using namespace llvm;
namespace {
class ARMELFObjectWriter : public MCELFObjectTargetWriter {
enum { DefaultEABIVersion = 0x05000000U };
-
- const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
- const MCValue &Target,
- const MCFragment &F,
- const MCFixup &Fixup,
- bool IsPCRel) const;
unsigned GetRelocTypeInner(const MCValue &Target,
const MCFixup &Fixup,
bool IsPCRel) const;
@@ -38,11 +32,16 @@ namespace {
ARMELFObjectWriter(uint8_t OSABI);
virtual ~ARMELFObjectWriter();
- protected:
+
virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel, bool IsRelocWithSymbol,
int64_t Addend) const;
virtual unsigned getEFlags() const;
+ virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
+ const MCValue &Target,
+ const MCFragment &F,
+ const MCFixup &Fixup,
+ bool IsPCRel) const;
};
}