From 623753ad64a3625b010c10c00c45262d2eec2495 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 16 Aug 2011 00:42:13 -0400 Subject: RTLD_NEXT support the asm wrapper is needed to get the return address without compiler-specific extensions. --- src/ldso/x86_64/dlsym.s | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/ldso/x86_64/dlsym.s (limited to 'src/ldso/x86_64/dlsym.s') diff --git a/src/ldso/x86_64/dlsym.s b/src/ldso/x86_64/dlsym.s new file mode 100644 index 00000000..4261145c --- /dev/null +++ b/src/ldso/x86_64/dlsym.s @@ -0,0 +1,6 @@ +.text +.global dlsym +.type dlsym,@function +dlsym: + mov (%rsp),%edx + jmp __dlsym -- cgit v1.2.1