Pass a MCSymbol to needsRelocateWithSymbol.
[oota-llvm.git] / include / llvm / MC / MCELFObjectWriter.h
index cf73eca340d7209302d2320a71ab86ec90c054ee..3ed8fd692f593e2a26e68488ebcef862b1507d11 100644 (file)
@@ -69,7 +69,7 @@ public:
   virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
                                 bool IsPCRel) const = 0;
 
-  virtual bool needsRelocateWithSymbol(const MCSymbolData &SD,
+  virtual bool needsRelocateWithSymbol(const MCSymbol &Sym,
                                        unsigned Type) const;
 
   virtual void sortRelocs(const MCAssembler &Asm,