From ea9b0ecbf0e7b6e8281047624efbe1b2cbb6d487 Mon Sep 17 00:00:00 2001
From: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date: Mon, 17 Apr 2017 10:00:35 +0530
Subject: tunables: Add LD_HWCAP_MASK to tunables

Add LD_HWCAP_MASK to tunables in preparation of it being removed from
rtld.c.  This allows us to read LD_HWCAP_MASK much earlier so that it
can influence IFUNC resolution in aarch64.

This patch does not actually do anything other than read the
LD_HWCAP_MASK variable and add the tunables way to set the
LD_HWCAP_MASK, i.e. via the glibc.tune.hwcap_mask tunable.  In a
follow-up patch, the _dl_hwcap_mask will be replaced with
glibc.tune.hwcap_mask to complete the transition.

	* elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
	* scripts/gen-tunables.awk: Include dl-procinfo.h.
	* manual/tunables.texi: Document glibc.tune.hwcap_mask.
---
 ChangeLog | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'ChangeLog')

diff --git a/ChangeLog b/ChangeLog
index b85c6182ff..7a42c78932 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
+	* elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
+	* scripts/gen-tunables.awk: Include dl-procinfo.h.
+	* manual/tunables.texi: Document glibc.tune.hwcap_mask.
+
 	* elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
 	* elf/dl-tunables.c: Likewise.
 	(do_tunable_update_val): New function.
-- 
cgit v1.2.3-70-g09d2