glibc/sysdeps
Stefan Liebler cc1b91eabd
S390: Fix building with --disable-mutli-arch [BZ #31196]
Starting with commits
- 7ea510127e
string: Add libc_hidden_proto for strchrnul
- 22999b2f0f
string: Add libc_hidden_proto for memrchr

building glibc on s390x with --disable-multi-arch fails if only
the C-variant of strchrnul / memrchr is used.  This is the case
if gcc uses -march < z13.

The build fails with:
../sysdeps/s390/strchrnul-c.c:28:49: error: ‘__strchrnul_c’ undeclared here (not in a function); did you mean ‘__strchrnul’?
   28 | __hidden_ver1 (__strchrnul_c, __GI___strchrnul, __strchrnul_c);

With --disable-multi-arch, __strchrnul_c is not available as string/strchrnul.c
is just included without defining STRCHRNUL and thus we also don't have to create
the internal hidden symbol.

Tested-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2024-01-30 22:28:51 +01:00
..
aarch64
alpha
arc
arm
csky
generic Make __getrandom_nocancel set errno and add a _nostatus version 2024-01-12 14:23:11 +01:00
gnu
hppa
htl
hurd
i386 math: remove exp10 wrappers 2024-01-12 16:02:12 +00:00
ieee754 math: remove exp10 wrappers 2024-01-12 16:02:12 +00:00
loongarch
m68k math: remove exp10 wrappers 2024-01-12 16:02:12 +00:00
mach Make __getrandom_nocancel set errno and add a _nostatus version 2024-01-12 14:23:11 +01:00
microblaze
mips
nios2
nptl
or1k
posix
powerpc
pthread
riscv riscv: add support for static PIE 2024-01-22 14:58:23 +01:00
s390 S390: Fix building with --disable-mutli-arch [BZ #31196] 2024-01-30 22:28:51 +01:00
sh
sparc sparc: Fix sparc64 memmove length comparison (BZ 31266) 2024-01-22 09:34:50 -03:00
unix sh: Fix static build with --enable-fortify 2024-01-22 10:04:53 -03:00
wordsize-32
wordsize-64
x86 x86-64: Check if mprotect works before rewriting PLT 2024-01-15 06:59:23 -08:00
x86_64 x86-64: Check if mprotect works before rewriting PLT 2024-01-15 06:59:23 -08:00