]> git.ipfire.org Git - thirdparty/glibc.git/commit - manual/tunables.texi
tunables: Add LD_HWCAP_MASK to tunables
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 17 Apr 2017 04:30:35 +0000 (10:00 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 7 Jun 2017 05:41:37 +0000 (11:11 +0530)
commitea9b0ecbf0e7b6e8281047624efbe1b2cbb6d487
tree59984b1e6f5bc7e5f66a349e69359fd33090393a
parent44330b6d32904fdc8b6835a112e0ba0aee9f4ef3
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
elf/dl-tunables.list
manual/tunables.texi
scripts/gen-tunables.awk