Fix undefined-symbol reporting on 32-bit architectures; the return address is exactly at the relocation point in this case

db4
Slava Pestov 2011-09-13 20:43:07 -07:00
parent 736cebe729
commit bbe369ebfa
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ struct find_symbol_at_address_visitor {
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;
array *parameters = untag<array>(compiled->parameters);