From b82ad85e94da3965ea351224efa56f79158737b0 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 28 Oct 2017 14:39:25 -0400 Subject: ldso: implemented dlsym(). --- src/ldso/nt32/dynlink.c | 4 ++-- src/ldso/nt64/dynlink.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ldso') diff --git a/src/ldso/nt32/dynlink.c b/src/ldso/nt32/dynlink.c index 4115178..28f3334 100644 --- a/src/ldso/nt32/dynlink.c +++ b/src/ldso/nt32/dynlink.c @@ -114,9 +114,9 @@ int __dlinfo(void * dso, int req, void * res) return __ldso_vtbl->dlinfo(dso,req,res); } -void *__dlsym(void * restrict p, const char * restrict s, void * restrict ra) +void *__dlsym(void * restrict p, const char * restrict s) { - return __ldso_vtbl->dlsym(p,s,ra); + return __ldso_vtbl->dlsym(p,s,0); } int dlclose(void *p) diff --git a/src/ldso/nt64/dynlink.c b/src/ldso/nt64/dynlink.c index 4115178..28f3334 100644 --- a/src/ldso/nt64/dynlink.c +++ b/src/ldso/nt64/dynlink.c @@ -114,9 +114,9 @@ int __dlinfo(void * dso, int req, void * res) return __ldso_vtbl->dlinfo(dso,req,res); } -void *__dlsym(void * restrict p, const char * restrict s, void * restrict ra) +void *__dlsym(void * restrict p, const char * restrict s) { - return __ldso_vtbl->dlsym(p,s,ra); + return __ldso_vtbl->dlsym(p,s,0); } int dlclose(void *p) -- cgit v1.2.3