projects
/
musl
/ 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
4261145
..
3c16616
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