Index: src/IceAssemblerARM32.cpp |
diff --git a/src/IceAssemblerARM32.cpp b/src/IceAssemblerARM32.cpp |
index cb3816fe549c104fdf2b33f27be04f71188538eb..844861215d9e564907dc378cf050c9a2bf10bd5a 100644 |
--- a/src/IceAssemblerARM32.cpp |
+++ b/src/IceAssemblerARM32.cpp |
@@ -499,7 +499,7 @@ size_t MoveRelocatableFixup::emit(GlobalContext *Ctx, |
"mov" << (kind() == llvm::ELF::R_ARM_MOVW_ABS_NC ? "w" : "t") << "\t" |
<< RegARM32::getRegName((Inst >> kRdShift) & 0xF) |
<< ", #:" << (kind() == llvm::ELF::R_ARM_MOVW_ABS_NC ? "lower" : "upper") |
- << "16:" << symbol(Ctx) << "\t@ .word " |
+ << "16:" << symbol(Ctx, &Asm) << "\t@ .word " |
<< llvm::format_hex_no_prefix(Inst, 8) << "\n"; |
return InstARM32::InstSize; |
} |
@@ -522,7 +522,7 @@ size_t BlRelocatableFixup::emit(GlobalContext *Ctx, |
Ostream &Str = Ctx->getStrEmit(); |
IValueT Inst = Asm.load<IValueT>(position()); |
Str << "\t" |
- "bl\t" << symbol(Ctx) << "\t@ .word " |
+ "bl\t" << symbol(Ctx, &Asm) << "\t@ .word " |
<< llvm::format_hex_no_prefix(Inst, 8) << "\n"; |
return InstARM32::InstSize; |
} |