about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-04-20 20:29:07 -0700
committerRich Felker <dalias@aerifal.cx>2024-05-06 10:59:12 -0400
commita23cf8f9c5ab8ff1e1742a68b352e58b9febbe4a (patch)
tree170caa39779196955fd3a9fafde14510a45b86ca /arch
parentcbf1c7b605d979bb7fdde8b8e6a66acdba18c6b0 (diff)
downloadmusl-a23cf8f9c5ab8ff1e1742a68b352e58b9febbe4a.tar.gz
musl-a23cf8f9c5ab8ff1e1742a68b352e58b9febbe4a.tar.xz
musl-a23cf8f9c5ab8ff1e1742a68b352e58b9febbe4a.zip
riscv mcontext_t/sigcontext: use __aligned__ instead of aligned
aligned may be defined by the application for its own use before
bits/signal.h is included.
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv32/bits/signal.h2
-rw-r--r--arch/riscv64/bits/signal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv32/bits/signal.h b/arch/riscv32/bits/signal.h
index 271e7da6..50b66ec9 100644
--- a/arch/riscv32/bits/signal.h
+++ b/arch/riscv32/bits/signal.h
@@ -19,7 +19,7 @@ struct __riscv_mc_d_ext_state {
 };
 
 struct __riscv_mc_q_ext_state {
-	unsigned long long __f[64] __attribute__((aligned(16)));
+	unsigned long long __f[64] __attribute__((__aligned__(16)));
 	unsigned int __fcsr;
 	unsigned int __reserved[3];
 };
diff --git a/arch/riscv64/bits/signal.h b/arch/riscv64/bits/signal.h
index 6a53feb7..56f8fe17 100644
--- a/arch/riscv64/bits/signal.h
+++ b/arch/riscv64/bits/signal.h
@@ -19,7 +19,7 @@ struct __riscv_mc_d_ext_state {
 };
 
 struct __riscv_mc_q_ext_state {
-	unsigned long long __f[64] __attribute__((aligned(16)));
+	unsigned long long __f[64] __attribute__((__aligned__(16)));
 	unsigned int __fcsr;
 	unsigned int __reserved[3];
 };