Explicit symbols for gnu mimicing relocations. Patch by Jack Carter
[oota-llvm.git] / lib / MC / ELFObjectWriter.h
index 78382065dbcbb3d9f5ea1062c7a73dcb80aa562c..9adf0b1bd0f8a8cf8cab963a6665f151c752d30b 100644 (file)
@@ -445,6 +445,12 @@ class ELFObjectWriter : public MCObjectWriter {
     virtual void WriteEFlags();
 
   protected:
+    virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
+                                           const MCValue &Target,
+                                           const MCFragment &F,
+                                           const MCFixup &Fixup,
+                                           bool IsPCRel) const;
+
     virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
                                   bool IsPCRel, bool IsRelocWithSymbol,
                                   int64_t Addend);