glibc/sysdeps/unix/sysv/linux/s390
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
..
bits Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fpu
s390-32 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s390-64 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sys Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Implies
Makefile
Versions
configure
configure.ac
dl-cache.h
dl-procinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-conf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-conf.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-lock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-trylock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-unlock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
htm.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
kernel-features.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
kernel_sigaction.h
ldconfig.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ldd-rewrite.sed Remove left over LD_LIBRARY_VERSION usages 2022-08-04 09:09:48 -03:00
libpthread-compat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
localplt.data elf: Rework exception handling in the dynamic loader [BZ #25486] 2022-11-03 09:39:31 +01:00
longjmp_chk.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mmap_call.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nldbl-abi.h
readelflib.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rt-sysdep.S
sa_len.c
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysconf.c S390: Influence hwcaps/stfle via GLIBC_TUNABLES. 2023-02-07 09:19:27 +01:00
sysdep.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-ptrace-singleblock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ucontext_i.sym
xstatver.h