musl/arch/s390x
Stefan Liebler 5be920e910 s390x: don't allow br r0 in CRTJMP asm
The instruction encoding that would be "br %r0" is not actually a
branch to r0, but instead a nop/memory-barrier. gcc 14 has been found
to choose r0 for the "r"(pc) constraint, breaking CRTJMP.

This patch adjusts the inline assembly constraints and marks "pc" as
address ("a"), which disallows usage of r0.
2024-10-11 12:21:35 -04:00
..
bits stdint.h: derive limits from __LONG_MAX, use common fast16 types 2024-05-07 09:17:51 -04:00
atomic_arch.h add s390x port 2016-11-11 23:06:21 -05:00
crt_arch.h add s390x port 2016-11-11 23:06:21 -05:00
kstat.h decouple struct stat from kernel type 2019-07-18 19:38:12 -04:00
pthread_arch.h deduplicate __pthread_self thread pointer adjustment out of each arch 2020-08-27 18:36:45 -04:00
reloc.h s390x: don't allow br r0 in CRTJMP asm 2024-10-11 12:21:35 -04:00
syscall_arch.h prefer new socket syscalls, fallback to SYS_socketcall only if needed 2020-08-08 20:59:26 -04:00