summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-25 11:59:42 +0000
committerRoland McGrath <roland@gnu.org>1996-06-25 11:59:42 +0000
commit3d3ac840ea80743592252d232a62eb17d473501a (patch)
tree302754680b42aad63e76ce5e8317cfb32231bc01 /elf
parent282d87435cfb3d95386355be0fffc3bbb9aafde3 (diff)
* Makefile (headers): Add libc-lock.h.
* sysdeps/stub/libc-lock.h: New file. * inet/getrpcbynumber.c: Remove _r typo. * elf/dl-load.c (_dl_map_object): Fix typo in last change.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 7c2f2e3985..f01bdad525 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -463,7 +463,7 @@ _dl_map_object (struct link_map *loader, const char *name, int type)
/* If the requested name matches the soname of a loaded object,
use that object. */
(l->l_info[DT_SONAME] &&
- ! strcmp (name, (const char *) (l->addr +
+ ! strcmp (name, (const char *) (l->l_addr +
l->l_info[DT_SONAME]->d_un.d_ptr))))
{
/* The object is already loaded.