summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/aarch64/common/context_gcc.S9
1 files changed, 4 insertions, 5 deletions
diff --git a/libcpu/aarch64/common/context_gcc.S b/libcpu/aarch64/common/context_gcc.S
index 9dd3c5e4b0..c425460029 100644
--- a/libcpu/aarch64/common/context_gcc.S
+++ b/libcpu/aarch64/common/context_gcc.S
@@ -20,11 +20,10 @@
#include "armv8.h"
#ifndef RT_USING_SMP
-.bss
- .align 3
-rt_interrupt_from_thread: .comm 8, 8
-rt_interrupt_to_thread: .comm 8, 8
-rt_thread_switch_interrupt_flag: .comm 8, 8
+.section .data
+rt_interrupt_from_thread: .zero 8
+rt_interrupt_to_thread: .zero 8
+rt_thread_switch_interrupt_flag: .zero 8
#endif
.text