From dfa55e193d04ad96c0049a48f58412ebb12c08ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Wed, 16 Jul 2025 15:37:41 +0200 Subject: [PATCH] musl: replace .data.rel.ro with .section .data.rel.ro,"aw" The former was an LLVM extension that appears to have been removed in LLVM 21. I won't bother fixing gen_stubs.zig; see #23881. --- lib/libc/musl/libc.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/musl/libc.S b/lib/libc/musl/libc.S index 9fec2c07d6..25b6dd5045 100644 --- a/lib/libc/musl/libc.S +++ b/lib/libc/musl/libc.S @@ -124,7 +124,7 @@ opterr: .type optind, %object; .size optind, 4 optind: -.data.rel.ro +.section .data.rel.ro,"aw" .globl stderr .type stderr, %object; .size stderr, PTR_SIZE_BYTES