mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-15 14:28:25 +00:00
Fix function MipsCodeEmitter::emitExternalSymbolAddress to pass test
ExecutionEngine/test-fp.ll. Patch by Petar Jovanovic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ee306cbc0
commit
b57134523c
@ -258,7 +258,7 @@ void MipsCodeEmitter::emitGlobalAddressUnaligned(const GlobalValue *GV,
|
|||||||
void MipsCodeEmitter::
|
void MipsCodeEmitter::
|
||||||
emitExternalSymbolAddress(const char *ES, unsigned Reloc) const {
|
emitExternalSymbolAddress(const char *ES, unsigned Reloc) const {
|
||||||
MCE.addRelocation(MachineRelocation::getExtSym(MCE.getCurrentPCOffset(),
|
MCE.addRelocation(MachineRelocation::getExtSym(MCE.getCurrentPCOffset(),
|
||||||
Reloc, ES, 0, 0, false));
|
Reloc, ES, 0, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MipsCodeEmitter::emitConstPoolAddress(unsigned CPI, unsigned Reloc) const {
|
void MipsCodeEmitter::emitConstPoolAddress(unsigned CPI, unsigned Reloc) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user