mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Fix function MipsCodeEmitter::emitExternalSymbolAddress to pass test
ExecutionEngine/test-fp.ll. Patch by Petar Jovanovic. llvm-svn: 160653
This commit is contained in:
parent
b1ba835c42
commit
dba3c8d511
@ -258,7 +258,7 @@ void MipsCodeEmitter::emitGlobalAddressUnaligned(const GlobalValue *GV,
|
||||
void MipsCodeEmitter::
|
||||
emitExternalSymbolAddress(const char *ES, unsigned Reloc) const {
|
||||
MCE.addRelocation(MachineRelocation::getExtSym(MCE.getCurrentPCOffset(),
|
||||
Reloc, ES, 0, 0, false));
|
||||
Reloc, ES, 0, 0));
|
||||
}
|
||||
|
||||
void MipsCodeEmitter::emitConstPoolAddress(unsigned CPI, unsigned Reloc) const {
|
||||
|
Loading…
Reference in New Issue
Block a user