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/i386/dlsym.s | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/ldso/i386/dlsym.s (limited to 'src/ldso/i386') diff --git a/src/ldso/i386/dlsym.s b/src/ldso/i386/dlsym.s new file mode 100644 index 00000000..abd53a09 --- /dev/null +++ b/src/ldso/i386/dlsym.s @@ -0,0 +1,10 @@ +.text +.global dlsym +.type dlsym,@function +dlsym: + push (%esp) + push 12(%esp) + push 12(%esp) + call __dlsym + add $12,%esp + ret -- cgit v1.2.3-70-g09d2