aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/llvm/hipe_llvm_main.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-10-24 15:19:08 +0200
committerSverker Eriksson <[email protected]>2016-10-24 15:19:08 +0200
commit0b5612f8770fa24081a7ce6a62190921c0478be4 (patch)
tree017efb58402769108eb46062f82661808294775b /lib/hipe/llvm/hipe_llvm_main.erl
parent1a812284999c8f38d84f380775b88f7bdc1f1432 (diff)
parentf66a70f651c2889f69b938e7ad061bddb8fe2116 (diff)
downloadotp-0b5612f8770fa24081a7ce6a62190921c0478be4.tar.gz
otp-0b5612f8770fa24081a7ce6a62190921c0478be4.tar.bz2
otp-0b5612f8770fa24081a7ce6a62190921c0478be4.zip
Merge branch 'sverker/hipe-llvm-remote-call/OTP-13983'
Diffstat (limited to 'lib/hipe/llvm/hipe_llvm_main.erl')
-rw-r--r--lib/hipe/llvm/hipe_llvm_main.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hipe/llvm/hipe_llvm_main.erl b/lib/hipe/llvm/hipe_llvm_main.erl
index 164ccf20ef..c8fc9cc856 100644
--- a/lib/hipe/llvm/hipe_llvm_main.erl
+++ b/lib/hipe/llvm/hipe_llvm_main.erl
@@ -276,8 +276,7 @@ fix_reloc(#elf_rel{symbol=#elf_sym{name=Name, section=#elf_shdr{name=?TEXT},
offset=Offset, type=?PCREL_T, addend=?PCREL_A},
RelocsDict, MFA) when Name =/= "" ->
case dict:fetch(Name, RelocsDict) of
- {call, not_remote, MFA} -> {?CALL_LOCAL, Offset, MFA};
- {call, remote, MFA} -> {?CALL_REMOTE, Offset, MFA}
+ {call, not_remote, MFA} -> {?CALL_LOCAL, Offset, MFA}
end;
fix_reloc(#elf_rel{symbol=#elf_sym{name=Name, section=#elf_shdr{name=?RODATA},
type=object},