diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2024-10-10 15:02:44 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-10-11 12:21:35 -0400 |
commit | 5be920e9103fb7c7e492af7cd8bf56a71ae0b2c6 (patch) | |
tree | e766cdec257e1adc124562506dd64684daad415f /include/netdb.h | |
parent | 2fc56aaa9f660ebd735d1595c3501b792af42eb8 (diff) | |
download | musl-5be920e9103fb7c7e492af7cd8bf56a71ae0b2c6.tar.gz musl-5be920e9103fb7c7e492af7cd8bf56a71ae0b2c6.tar.xz musl-5be920e9103fb7c7e492af7cd8bf56a71ae0b2c6.zip |
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.
Diffstat (limited to 'include/netdb.h')
0 files changed, 0 insertions, 0 deletions