From ea9b0ecbf0e7b6e8281047624efbe1b2cbb6d487 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar 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. --- scripts/gen-tunables.awk | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/gen-tunables.awk') diff --git a/scripts/gen-tunables.awk b/scripts/gen-tunables.awk index b10b00ebd6..93e5aff0ef 100644 --- a/scripts/gen-tunables.awk +++ b/scripts/gen-tunables.awk @@ -134,6 +134,7 @@ END { print "# error \"Do not include this file directly.\"" print "# error \"Include tunables.h instead.\"" print "#endif" + print "#include \n" # Now, the enum names print "\ntypedef enum" -- cgit 1.4.1