[erlang-bugs] A bug in address patching in hipe_x86.c?

Mikael Pettersson <>
Sat Feb 1 18:45:35 CET 2014

Anthony Ramine writes:
 > Hello,
 > Don’t know if that is relevant, but there is already an addition of an offset and a base address in hipe_unified_loader:
 > https://github.com/erlang/otp/blob/eec1d22c5aef21ad4606c79465084bbff46d42ee/lib/kernel/src/hipe_unified_loader.erl#L368-369

That converts from the "image offsets" used in the object file to actual
runtime addresses, by adding the image's runtime load (base) address.


More information about the erlang-bugs mailing list