KZT, fix: Align x86-64 JUMP_SLOT relocation with glibc
glibc ignores the RELA addend for R_X86_64_JUMP_SLOT and writes the resolved symbol value directly to the relocation slot.
previously added r_addend during immediate binding. A nonzero addend could therefore shift a KZT bridge address to an invalid entry point, as observed for realloc in guest libc.
Write the resolved symbol address without the addend, matching glibc and LATX’s existing lazy resolver.
Signed-off-by: zqz OrzZzznn@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号