summary refs log tree commit diff
path: root/include/link.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-24 01:02:15 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-24 01:02:15 +0000
commita881e0a074e448f282e44b1d172b46199697755b (patch)
tree85652f02c63ce55c72f4366a8bf6a48758cba00b /include/link.h
parentc41c89d35db92458777bec25cf2037e3e91a96bb (diff)
downloadglibc-a881e0a074e448f282e44b1d172b46199697755b.tar.gz
glibc-a881e0a074e448f282e44b1d172b46199697755b.tar.xz
glibc-a881e0a074e448f282e44b1d172b46199697755b.zip
Update.
	* include/link.h (struct link_map): New bit field l_faked.
	* elf/dl-deps.c: Use l_faked field in struct link_map instead of
	the magic l_opencount==0.
	* elf/dl-load.c: Likewise.
	* elf/dl-version.c: Likewise.
	* elf/rtld.c: Likewise.
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index 4c04099891..bb931f2607 100644
--- a/include/link.h
+++ b/include/link.h
@@ -180,6 +180,8 @@ struct link_map
 					to by `l_phdr' is allocated.  */
     unsigned int l_soname_added:1; /* Nonzero if the SONAME is for sure in
 				      the l_libname list.  */
+    unsigned int l_faked:1;	/* Nonzero if this is a faked descriptor
+				   without associated file.  */
 
     /* Array with version names.  */
     unsigned int l_nversions;
@@ -202,7 +204,7 @@ struct link_map
     ElfW(Addr) l_map_start, l_map_end;
 
     /* This is an array defining the lookup scope for this link map.
-     There are at most three different scope lists.  */
+       There are at most three different scope lists.  */
     struct r_scope_elem *l_scope[4];
 
     /* A similar array, this time only with the local scope.  This is