summaryrefslogtreecommitdiff
path: root/src/jit/emitarm.cpp
diff options
context:
space:
mode:
authorRuben Ayrapetyan <r.ayrapetyan@samsung.com>2017-05-03 17:01:07 +0300
committerRuben Ayrapetyan <r.ayrapetyan@samsung.com>2017-05-15 16:00:24 +0300
commitfaf5d86e0f575bdb459f0cf8ace7a89ca3dc43c1 (patch)
treeffc8f897a05bbf2cbb43c48532e2b46734c01afd /src/jit/emitarm.cpp
parentef8d1522eb15cb0371f31a9392891c942547a91f (diff)
downloadcoreclr-faf5d86e0f575bdb459f0cf8ace7a89ca3dc43c1.tar.gz
coreclr-faf5d86e0f575bdb459f0cf8ace7a89ca3dc43c1.tar.bz2
coreclr-faf5d86e0f575bdb459f0cf8ace7a89ca3dc43c1.zip
Change relocations in ngen-ed code with PC-relative constants for Linux ARM32.
Diffstat (limited to 'src/jit/emitarm.cpp')
-rw-r--r--src/jit/emitarm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/emitarm.cpp b/src/jit/emitarm.cpp
index 2b8eb25bc2..9ec8e07756 100644
--- a/src/jit/emitarm.cpp
+++ b/src/jit/emitarm.cpp
@@ -5387,7 +5387,7 @@ BYTE* emitter::emitOutputLJ(insGroup* ig, BYTE* dst, instrDesc* i)
{
assert(ins == INS_movt || ins == INS_movw);
if ((ins == INS_movt) && emitComp->info.compMatchedVM)
- emitRecordRelocation((void*)(dst - 8), (void*)distVal, IMAGE_REL_BASED_THUMB_MOV32);
+ emitHandlePCRelativeMov32((void*)(dst - 8), (void*)distVal);
}
}
else
@@ -6011,7 +6011,7 @@ size_t emitter::emitOutputInstr(insGroup* ig, instrDesc* id, BYTE** dp)
assert((ins == INS_movt) || (ins == INS_movw));
dst += emitOutput_Thumb2Instr(dst, code);
if ((ins == INS_movt) && emitComp->info.compMatchedVM)
- emitRecordRelocation((void*)(dst - 8), (void*)imm, IMAGE_REL_BASED_THUMB_MOV32);
+ emitHandlePCRelativeMov32((void*)(dst - 8), (void*)imm);
}
else
{