summary refs log tree commit diff
path: root/elf/do-lookup.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-20 23:57:48 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-20 23:57:48 +0000
commitad9570d73331610132729ae4c6b89e779fab4877 (patch)
tree5cbfa0641ad27490d372844694b6a63383632cb8 /elf/do-lookup.h
parent2f6164e233683930e3ef2313efcfc456114fd4da (diff)
downloadglibc-ad9570d73331610132729ae4c6b89e779fab4877.tar.gz
glibc-ad9570d73331610132729ae4c6b89e779fab4877.tar.xz
glibc-ad9570d73331610132729ae4c6b89e779fab4877.zip
Update.
	* elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
	for tracing to the scope lists.
	* elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
	DT_SYMTAB is always available according to ELF spec.
Diffstat (limited to 'elf/do-lookup.h')
-rw-r--r--elf/do-lookup.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/elf/do-lookup.h b/elf/do-lookup.h
index 1a833be83a..691dcc81e0 100644
--- a/elf/do-lookup.h
+++ b/elf/do-lookup.h
@@ -56,20 +56,11 @@ FCT (const char *undef_name, unsigned long int hash,
       if (skip != NULL && map == skip)
 	continue;
 
-      /* Skip objects that could not be opened, which can occur in trace
-	 mode.  */
-      if (map->l_opencount == 0)
-	continue;
-
       /* Don't search the executable when resolving a copy reloc.  */
       if (elf_machine_lookup_noexec_p (reloc_type)
 	  && map->l_type == lt_executable)
 	continue;
 
-      /* Skip objects without symbol tables.  */
-      if (map->l_info[DT_SYMTAB] == NULL)
-	continue;
-
       /* Print some debugging info if wanted.  */
       if (_dl_debug_symbols)
 	_dl_debug_message (1, "symbol=", undef_name, ";  lookup in file=",