summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-21 06:32:16 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-21 06:32:16 +0000
commitc91bc73e3e463ae6a80e548b899703efae256090 (patch)
tree4ffca3b92929cba407f8c4dc68274d83ec697d90 /include
parent8699e7b1daa5d250b8bc69e1ecffae80170277e5 (diff)
downloadglibc-c91bc73e3e463ae6a80e548b899703efae256090.tar.gz
glibc-c91bc73e3e463ae6a80e548b899703efae256090.tar.xz
glibc-c91bc73e3e463ae6a80e548b899703efae256090.zip
Update.
	* include/link.h (struct link_map): Add l_soname_added bitfield.
	* elf/dl-load.c (_dl_map_object): Remember when we added the
	SONAME to the l_libname list and don't try it again.
Diffstat (limited to 'include')
-rw-r--r--include/link.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h
index 0eab781428..4c04099891 100644
--- a/include/link.h
+++ b/include/link.h
@@ -178,6 +178,8 @@ struct link_map
     unsigned int l_reserved:2;	/* Reserved for internal use.  */
     unsigned int l_phdr_allocated:1; /* Nonzero if the data structure pointed
 					to by `l_phdr' is allocated.  */
+    unsigned int l_soname_added:1; /* Nonzero if the SONAME is for sure in
+				      the l_libname list.  */
 
     /* Array with version names.  */
     unsigned int l_nversions;