diff options
author | Magnus Lång <[email protected]> | 2016-10-18 15:54:40 +0200 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-10-18 15:54:40 +0200 |
commit | c8f3ec52716064e0835e2e84329b2257be22acb2 (patch) | |
tree | f3212d2d789dca54386902d73463e6f3185e06d2 /lib/hipe/llvm/hipe_llvm_main.erl | |
parent | bce68cd6ecbdbf04ea6af367f0795d83826420d5 (diff) | |
download | otp-c8f3ec52716064e0835e2e84329b2257be22acb2.tar.gz otp-c8f3ec52716064e0835e2e84329b2257be22acb2.tar.bz2 otp-c8f3ec52716064e0835e2e84329b2257be22acb2.zip |
hipe_llvm: Use different symbols for remote calls
Diffstat (limited to 'lib/hipe/llvm/hipe_llvm_main.erl')
-rw-r--r-- | lib/hipe/llvm/hipe_llvm_main.erl | 3 |
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}, |