diff options
author | Magnus Lång <[email protected]> | 2016-12-06 16:29:56 +0100 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-12-06 16:56:08 +0100 |
commit | f2956b24845a14475d90959bf8f8f90807c49a8d (patch) | |
tree | bf6a61c6ccd2902d9c00cd76f1f1415a2ddac28d /erts/emulator/hipe/hipe_debug.h | |
parent | b5545594dd90bb6d1e049757050839a368730ecb (diff) | |
download | otp-f2956b24845a14475d90959bf8f8f90807c49a8d.tar.gz otp-f2956b24845a14475d90959bf8f8f90807c49a8d.tar.bz2 otp-f2956b24845a14475d90959bf8f8f90807c49a8d.zip |
erts: Fix missing HiPE trampolines on arm
8bb80fe76f5b replaced the "__arm__" macro used to test for the arm
architecture in hipe_bif0 with the "arm" macro, which is not universally
available. As this replacement is not motivated in the commit message,
nor replicated in any other file that uses the "__arm__" macro, this
seems to be an accident, and this commit reverts the replacement.
When compiled in an environment without the "arm" macro, upgrading hipe
code would occasionally not patch relocations to the new module due to
being out of range for a shortjump, and a trampoline not being provided
to do a longjump. Since this type of relocation patches are not expected
to be able to fail, there is no error handling, and aside from a
"hipe_redirect_to_module: patch failed" message, code upgrade would
proceed and lead to various incorrect behaviour.
Diffstat (limited to 'erts/emulator/hipe/hipe_debug.h')
0 files changed, 0 insertions, 0 deletions