projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b158b32
)
fix RTLD_NEXT on x86_64
author
Rich Felker
<dalias@aerifal.cx>
Sat, 3 Sep 2011 20:10:30 +0000
(16:10 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 3 Sep 2011 20:10:30 +0000
(16:10 -0400)
the return address was being truncated to 32 bits, preventing the
dlsym code from determining which module contains the calling code.
src/ldso/x86_64/dlsym.s
patch
|
blob
|
history
diff --git
a/src/ldso/x86_64/dlsym.s
b/src/ldso/x86_64/dlsym.s
index 4261145c9ba161e24cf757cc5853e8c946f8e34a..3c16616a22f41ff64146f62a4b4f39bae931e704 100644
(file)
--- 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),%
e
dx
+ mov (%rsp),%
r
dx
jmp __dlsym