From: Rich Felker Date: Sat, 3 Sep 2011 20:10:30 +0000 (-0400) Subject: fix RTLD_NEXT on x86_64 X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=ad70ba774fe4fda8379b59b2b353cbd451d693cc fix RTLD_NEXT on x86_64 the return address was being truncated to 32 bits, preventing the dlsym code from determining which module contains the calling code. --- diff --git a/src/ldso/x86_64/dlsym.s b/src/ldso/x86_64/dlsym.s index 4261145c..3c16616a 100644 --- a/src/ldso/x86_64/dlsym.s +++ b/src/ldso/x86_64/dlsym.s @@ -2,5 +2,5 @@ .global dlsym .type dlsym,@function dlsym: - mov (%rsp),%edx + mov (%rsp),%rdx jmp __dlsym