about summary refs log tree commit diff
path: root/elf/rtld.c
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/rtld.c
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/rtld.c')
-rw-r--r--elf/rtld.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index dae396ac2d..b07a076b69 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1112,6 +1112,12 @@ process_envvars (enum mode *modep, int *lazyp)
 	    _dl_show_auxv ();
 	  break;
 
+	case 10:
+	  /* mask for the important hardware capabilities.  */
+	  if (memcmp (&envline[3], "HWCAP_MASK", 10) == 0)
+	    _dl_hwcap_mask = strtoul (&envline[14], NULL, 0);
+	  break;
+
 	case 12:
 	  /* Where to place the profiling data file.  */
 	  if (memcmp (&envline[3], "DEBUG_OUTPUT", 12) == 0)