about summary refs log tree commit diff
path: root/elf/ldsodefs.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-31 18:24:48 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-31 18:24:48 +0000
commit12264bd7fa8ba6103463c9ca12109a387eeaba37 (patch)
treef8df531c466d4f20ebc5c8d9ad371ae66bcb0e7e /elf/ldsodefs.h
parent4317f9e1377c92493459f2796c37da27c01bccf7 (diff)
downloadglibc-12264bd7fa8ba6103463c9ca12109a387eeaba37.tar.gz
glibc-12264bd7fa8ba6103463c9ca12109a387eeaba37.tar.xz
glibc-12264bd7fa8ba6103463c9ca12109a387eeaba37.zip
Update.
1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>

	* include/mntent.h: New file.

	* elf/Makefile (trusted-dirs.h): Append slash to filename.
	* elf/dl-load.c: Rewrite search path handling.
	* elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
	* elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
	* sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
	* elf/ldsodefs.h: Add prototype.
Diffstat (limited to 'elf/ldsodefs.h')
-rw-r--r--elf/ldsodefs.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/elf/ldsodefs.h b/elf/ldsodefs.h
index 578e085d75..86f23bfb8d 100644
--- a/elf/ldsodefs.h
+++ b/elf/ldsodefs.h
@@ -60,9 +60,12 @@ struct r_search_path_elem
     const char *what;
     const char *where;
 
+    /* Basename for this search path element.  The string must end with
+       a slash character.  */
     const char *dirname;
+    size_t dirnamelen;
 
-    enum r_dir_status exists[0];
+    enum r_dir_status status[0];
   };
 
 struct r_strlenpair
@@ -137,6 +140,9 @@ extern int _dl_debug_files;
 /* Expect cache ID.  */
 extern int _dl_correct_cache_id;
 
+/* Mask for important hardware capabilities we honour. */
+extern unsigned long int _dl_hwcap_mask;
+
 /* File deccriptor to write debug messages to.  */
 extern int _dl_debug_fd;
 
@@ -386,7 +392,10 @@ extern void _dl_show_auxv (void);
 extern char *_dl_next_ld_env_entry (char ***position);
 
 /* Return an array with the names of the important hardware capabilities.  */
-extern char **_dl_important_hwcap (size_t *sz);
+extern const struct r_strlenpair *_dl_important_hwcaps (const char *platform,
+							size_t paltform_len,
+							size_t *sz,
+							size_t *max_capstrlen);
 
 __END_DECLS