From 12264bd7fa8ba6103463c9ca12109a387eeaba37 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 31 Mar 1998 18:24:48 +0000 Subject: Update. 1998-03-31 18:11 Ulrich Drepper * 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. --- elf/ldsodefs.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'elf/ldsodefs.h') diff --git a/elf/ldsodefs.h b/elf/ldsodefs.h index 578e085..86f23bf 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 -- cgit v1.1