From bd2b38e3cde5aa7d6d54933ee1b82180fd8d7a75 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Fri, 8 Feb 2008 13:43:39 +0000 Subject: Fix the recent dladdr changes so that they compile on FD-PIC targets. --- ldso/libdl/libdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/libdl') diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index 6dc60587b..4f164d702 100644 --- a/ldso/libdl/libdl.c +++ b/ldso/libdl/libdl.c @@ -743,7 +743,7 @@ int dladdr(const void *__address, Dl_info * __info) /* Set the info for the object the address lies in */ __info->dli_fname = pelf->libname; - __info->dli_fbase = (void *) DL_LOADADDR_BASE(pelf->mapaddr); + __info->dli_fbase = pelf->mapaddr; symtab = (ElfW(Sym) *) (pelf->dynamic_info[DT_SYMTAB]); strtab = (char *) (pelf->dynamic_info[DT_STRTAB]); -- cgit v1.2.3