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 Use libm_alias_double for s390. 2017-11-28 17:18:20 +00:00
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
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
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
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07: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_sigaction.h s390: Use generic kernel_sigaction.h 2018-12-18 19:52:23 -02:00
kernel-features.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
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
Makefile nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
mmap_call.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nldbl-abi.h * math/divtc3.c: New file. 2006-02-01 03:02:06 +00:00
readelflib.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rt-sysdep.S
sa_len.c Clean up __libc_sa_len helper. 2013-08-27 10:34:16 -07:00
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 S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
Versions nptl: Remove longjmp, siglongjmp from libpthread 2021-04-21 19:49:50 +02:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00