diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-03 16:10:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-03 16:10:30 -0400 |
commit | ad70ba774fe4fda8379b59b2b353cbd451d693cc (patch) | |
tree | 01008e5e335aaf535b60813ce0ece976b59368fa /src/ldso | |
parent | b158b32a44d56ef20407d4285b58180447ffff1f (diff) | |
download | musl-ad70ba774fe4fda8379b59b2b353cbd451d693cc.tar.gz |
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.
Diffstat (limited to 'src/ldso')
-rw-r--r-- | src/ldso/x86_64/dlsym.s | 2 |
1 files changed, 1 insertions, 1 deletions
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 |