From bbe369ebfab5a177efed39025920a1c3b2e17aeb Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Tue, 13 Sep 2011 20:43:07 -0700 Subject: [PATCH] Fix undefined-symbol reporting on 32-bit architectures; the return address is exactly at the relocation point in this case --- vm/code_blocks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/code_blocks.cpp b/vm/code_blocks.cpp index c464416fb6..13a80849cf 100755 --- a/vm/code_blocks.cpp +++ b/vm/code_blocks.cpp @@ -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(compiled->parameters);