Fix undefined-symbol reporting on 32-bit architectures; the return address is exactly at the relocation point in this case
parent
736cebe729
commit
bbe369ebfa
|
@ -451,7 +451,7 @@ struct find_symbol_at_address_visitor {
|
||||||
|
|
||||||
void operator()(instruction_operand op)
|
void operator()(instruction_operand op)
|
||||||
{
|
{
|
||||||
if(op.rel_type() == RT_DLSYM && op.pointer < return_address)
|
if(op.rel_type() == RT_DLSYM && op.pointer <= return_address)
|
||||||
{
|
{
|
||||||
code_block *compiled = op.compiled;
|
code_block *compiled = op.compiled;
|
||||||
array *parameters = untag<array>(compiled->parameters);
|
array *parameters = untag<array>(compiled->parameters);
|
||||||
|
|
Loading…
Reference in New Issue