Make the virtual methods in ARMELFObjectWriter public.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 22 Dec 2011 02:58:12 +0000 (02:58 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 22 Dec 2011 02:58:12 +0000 (02:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147132 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp

index 0cea32bfbb54dca9b5570d7dcbe27467a3d7f4b2..4ffaa52bd8cb1ec863d7d21b2997d5575117aca7 100644 (file)
@@ -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;
   };
 }