Index: src/runtime/lookup-asm/lookup-asm-x86-elf.S ================================================================== --- src/runtime/lookup-asm/lookup-asm-x86-elf.S +++ src/runtime/lookup-asm/lookup-asm-x86-elf.S @@ -49,11 +49,12 @@ ret 0: call get_eip 1: - addl $\not_found-1b, %eax + addl $_GLOBAL_OFFSET_TABLE_, %eax + movl \not_found@GOT(%eax), %eax jmp *%eax .type \name, %function .size \name, .-\name .endm