about summary refs log tree commit diff
path: root/sysdeps/generic/unsecvars.h
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2024-06-07 13:42:43 +0200
committerStefan Liebler <stli@linux.ibm.com>2024-06-18 10:45:36 +0200
commitad0aa1f54975bd20e30559930ea48a3568441ff4 (patch)
treea61b1c1b03cfc17b4ccd3f208bdaf341d1d012b3 /sysdeps/generic/unsecvars.h
parent343439a31ed1f07da307037b2c92b8ab3367c05c (diff)
downloadglibc-ad0aa1f54975bd20e30559930ea48a3568441ff4.tar.gz
glibc-ad0aa1f54975bd20e30559930ea48a3568441ff4.tar.xz
glibc-ad0aa1f54975bd20e30559930ea48a3568441ff4.zip
elf: Remove LD_HWCAP_MASK / tunable glibc.cpu.hwcap_mask
Remove the environment variable LD_HWCAP_MASK and the tunable
glibc.cpu.hwcap_mask as those are not used anymore in common-code
after removal in elf/dl-cache.c:search_cache().

The only remaining user is sparc32 where it is used in
elf_machine_matches_host().  If sparc32 does not need it anymore,
we can get rid of it at all.  Otherwise we could also move
LD_HWCAP_MASK / tunable glibc.cpu.hwcap_mask to be sparc32 specific.
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/generic/unsecvars.h')
-rw-r--r--sysdeps/generic/unsecvars.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/generic/unsecvars.h b/sysdeps/generic/unsecvars.h
index f1724efe0f..97857a11aa 100644
--- a/sysdeps/generic/unsecvars.h
+++ b/sysdeps/generic/unsecvars.h
@@ -12,7 +12,6 @@
   "LD_DEBUG\0"								      \
   "LD_DEBUG_OUTPUT\0"							      \
   "LD_DYNAMIC_WEAK\0"							      \
-  "LD_HWCAP_MASK\0"							      \
   "LD_LIBRARY_PATH\0"							      \
   "LD_ORIGIN_PATH\0"							      \
   "LD_PRELOAD\0"							      \