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:
parent
b158b32a44
commit
ad70ba774f
1 changed files with 1 additions and 1 deletions
|
|
@ -2,5 +2,5 @@
|
||||||
.global dlsym
|
.global dlsym
|
||||||
.type dlsym,@function
|
.type dlsym,@function
|
||||||
dlsym:
|
dlsym:
|
||||||
mov (%rsp),%edx
|
mov (%rsp),%rdx
|
||||||
jmp __dlsym
|
jmp __dlsym
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue