Make the virtual methods in ARMELFObjectWriter public.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147132 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2011-12-22 02:58:12 +00:00
parent 5ddb7a0105
commit 6db2d92603

View File

@ -23,12 +23,6 @@ using namespace llvm;
namespace { namespace {
class ARMELFObjectWriter : public MCELFObjectTargetWriter { class ARMELFObjectWriter : public MCELFObjectTargetWriter {
enum { DefaultEABIVersion = 0x05000000U }; 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, unsigned GetRelocTypeInner(const MCValue &Target,
const MCFixup &Fixup, const MCFixup &Fixup,
bool IsPCRel) const; bool IsPCRel) const;
@ -38,11 +32,16 @@ namespace {
ARMELFObjectWriter(uint8_t OSABI); ARMELFObjectWriter(uint8_t OSABI);
virtual ~ARMELFObjectWriter(); virtual ~ARMELFObjectWriter();
protected:
virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel, bool IsRelocWithSymbol, bool IsPCRel, bool IsRelocWithSymbol,
int64_t Addend) const; int64_t Addend) const;
virtual unsigned getEFlags() const; virtual unsigned getEFlags() const;
virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
const MCValue &Target,
const MCFragment &F,
const MCFixup &Fixup,
bool IsPCRel) const;
}; };
} }