aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2017-06-01 22:32:03 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-06-07 11:11:38 +0530
commitff08fc59e36e02074eba8ab39b0d9001363970f0 (patch)
tree1926c0dd4897a00b7541deb214bf6a1a480a8f8d /ChangeLog
parent6482e63403a3d13bf42f5029407b6151ad9f4ca5 (diff)
downloadglibc-ff08fc59e36e02074eba8ab39b0d9001363970f0.tar
glibc-ff08fc59e36e02074eba8ab39b0d9001363970f0.tar.gz
glibc-ff08fc59e36e02074eba8ab39b0d9001363970f0.tar.bz2
glibc-ff08fc59e36e02074eba8ab39b0d9001363970f0.zip
tunables: Use glibc.tune.hwcap_mask tunable instead of _dl_hwcap_mask
Drop _dl_hwcap_mask when building with tunables. This completes the transition of hwcap_mask reading from _dl_hwcap_mask to tunables. * elf/dl-hwcaps.h: New file. * elf/dl-hwcaps.c: Include it. (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update glibc.tune.hwcap_mask. * elf/dl-cache.c: Include dl-hwcaps.h. (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read glibc.tune.hwcap_mask. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop _dl_hwcap_mask. * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop _dl_hwcap_mask. (process_envvars)[HAVE_TUNABLES]: Likewise. * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]: Likewise. * sysdeps/x86/cpu-features.c (init_cpu_features): Don't initialize dl_hwcap_mask when tunables are enabled.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 26393d59e8..5b4d842100 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
+ * elf/dl-hwcaps.h: New file.
+ * elf/dl-hwcaps.c: Include it.
+ (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
+ glibc.tune.hwcap_mask.
+ * elf/dl-cache.c: Include dl-hwcaps.h.
+ (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
+ glibc.tune.hwcap_mask.
+ * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
+ * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
+ _dl_hwcap_mask.
+ * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
+ _dl_hwcap_mask.
+ (process_envvars)[HAVE_TUNABLES]: Likewise.
+ * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
+ Likewise.
+ * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
+ initialize dl_hwcap_mask when tunables are enabled.
+
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
guard.
* sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.