glibc/sysdeps/s390/multiarch
Stefan Liebler 41f67ccbe9 S390: Influence hwcaps/stfle via GLIBC_TUNABLES.
This patch enables the option to influence hwcaps and stfle bits used
by the s390 specific ifunc-resolvers.  The currently x86-specific
tunable glibc.cpu.hwcaps is also used on s390x to achieve the task. In
addition the user can also set a CPU arch-level like z13 instead of
single HWCAP and STFLE features.

Note that the tunable only handles the features which are really used
in the IFUNC-resolvers.  All others are ignored as the values are only
used inside glibc.  Thus we can influence:
- HWCAP_S390_VXRS (z13)
- HWCAP_S390_VXRS_EXT (z14)
- HWCAP_S390_VXRS_EXT2 (z15)
- STFLE_MIE3 (z15)

The influenced hwcap/stfle-bits are stored in the s390-specific
cpu_features struct which also contains reserved fields for future
usage.

The ifunc-resolvers and users of stfle bits are adjusted to use the
information from cpu_features struct.

On 31bit, the ELF_MACHINE_IRELATIVE macro is now also defined.
Otherwise the new ifunc-resolvers segfaults as they depend on
the not yet processed_rtld_global_ro@GLIBC_PRIVATE relocation.
2023-02-07 09:19:27 +01:00
..
iconv Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
8bit-generic.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dl-symbol-redir-ifunc.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_simple.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gen-8bit.sh S390: Optimize 8bit-generic iconv modules. 2016-05-25 17:18:04 +02:00
ifunc-impl-list.c S390: Influence hwcaps/stfle via GLIBC_TUNABLES. 2023-02-07 09:19:27 +01:00
ifunc-resolve.h S390: Influence hwcaps/stfle via GLIBC_TUNABLES. 2023-02-07 09:19:27 +01:00
Makefile S390: Refactor wmemcmp ifunc handling. 2018-12-18 13:57:25 +01:00
utf8-utf16-z9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
utf8-utf32-z9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
utf16-utf32-z9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00