diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-24 00:08:26 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-24 00:08:26 +0000 |
commit | b57134523c87ee3e115fca41f58d73cb66046146 (patch) | |
tree | 28edbff459824d1cd5cd0d4a5fc684fb557598fd /lib/Target/Mips | |
parent | 3ee306cbc0a295409c464ffaad5ef694de8eb09a (diff) | |
download | external_llvm-b57134523c87ee3e115fca41f58d73cb66046146.zip external_llvm-b57134523c87ee3e115fca41f58d73cb66046146.tar.gz external_llvm-b57134523c87ee3e115fca41f58d73cb66046146.tar.bz2 |
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
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/MipsCodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsCodeEmitter.cpp b/lib/Target/Mips/MipsCodeEmitter.cpp index c0e7639..cb7022b 100644 --- a/lib/Target/Mips/MipsCodeEmitter.cpp +++ b/lib/Target/Mips/MipsCodeEmitter.cpp @@ -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 { |