diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2008-02-08 13:43:39 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds_cb1@t-online.de> | 2008-02-08 13:43:39 +0000 |
commit | bd2b38e3cde5aa7d6d54933ee1b82180fd8d7a75 (patch) | |
tree | 84f3334633860fe603a0ab47bb7e0b4892356924 /ldso/libdl/libdl.c | |
parent | 0a595705ecbcf9fc3677459436d3deabfa5b115f (diff) |
Fix the recent dladdr changes so that they compile on FD-PIC targets.
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r-- | ldso/libdl/libdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |