glibc/sysdeps/unix/sysv/linux/s390
Joseph Myers ea18d5a4c2 Implement C23 memalignment
Add the C23 memalignment function (query the alignment of a pointer)
to glibc.

Given how simple this operation is, it would make sense for compilers
to inline calls to this function, but I'm treating that as a compiler
matter (compilers should add it as a built-in function) rather than
adding an inline version to glibc headers (although such an inline
version would be reasonable as well).  I've filed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122117 for this feature
in GCC.

Tested for x86_64 and x86.
2025-10-17 16:56:59 +00:00
..
bits
fpu
s390-32 Implement C23 memalignment 2025-10-17 16:56:59 +00:00
s390-64 Implement C23 memalignment 2025-10-17 16:56:59 +00:00
sys
Implies
Makefile
Versions
configure
configure.ac
dl-cache.h
elision-conf.c
elision-conf.h
elision-lock.c
elision-timed.c
elision-trylock.c
elision-unlock.c
htm.h
ipc_priv.h
jmp-unwind.c
kernel-features.h
kernel_sigaction.h
ldconfig.h
ldd-rewrite.sed
libpthread-compat.c
localplt.data
longjmp_chk.c
mmap_call.h
nldbl-abi.h
readelflib.c
rt-sysdep.S
sa_len.c
sigcontextinfo.h
sysconf.c S390: Add new s390 platform z17. 2025-05-05 10:30:55 +02:00
sysdep.h
tst-ptrace-singleblock.c
ucontext_i.sym
xstatver.h