Index: src/IceELFObjectWriter.cpp |
diff --git a/src/IceELFObjectWriter.cpp b/src/IceELFObjectWriter.cpp |
index 22f812ddc9efbb91cdbc04006aacc52ef4095d17..5224d1e9caee7e4ec8aae7f12d84cc2cbd91c20b 100644 |
--- a/src/IceELFObjectWriter.cpp |
+++ b/src/IceELFObjectWriter.cpp |
@@ -267,7 +267,7 @@ void ELFObjectWriter::writeFunctionCode(const IceString &FuncName, |
Fixup->emitOffset(Asm); |
} |
} |
- RelSection->addRelocations(OffsetInSection, Asm->fixups()); |
+ RelSection->addRelocations(OffsetInSection, Asm->fixups(), SymTab); |
} |
Section->appendData(Str, Asm->getBufferView()); |
} |