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.
This commit is contained in:
Rich Felker 2011-09-03 16:10:30 -04:00
parent b158b32a44
commit ad70ba774f

View File

@ -2,5 +2,5 @@
.global dlsym
.type dlsym,@function
dlsym:
mov (%rsp),%edx
mov (%rsp),%rdx
jmp __dlsym