summaryrefslogtreecommitdiff
path: root/core/cortex-m
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m')
-rw-r--r--core/cortex-m/init.S2
-rw-r--r--core/cortex-m/irq_handler.h2
-rw-r--r--core/cortex-m/switch.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/cortex-m/init.S b/core/cortex-m/init.S
index 5b7afb2ed8..19b98b0afb 100644
--- a/core/cortex-m/init.S
+++ b/core/cortex-m/init.S
@@ -103,7 +103,7 @@ _data_end:
_data_lma_start:
.long __data_lma_start
-/* Dummy functions to avoid linker complaints */
+/* Mock functions to avoid linker complaints */
.global __aeabi_unwind_cpp_pr0
.global __aeabi_unwind_cpp_pr1
.global __aeabi_unwind_cpp_pr2
diff --git a/core/cortex-m/irq_handler.h b/core/cortex-m/irq_handler.h
index 657a494c93..ae5d95cd94 100644
--- a/core/cortex-m/irq_handler.h
+++ b/core/cortex-m/irq_handler.h
@@ -25,7 +25,7 @@
#define DECLARE_IRQ_(irq, routine, priority) \
void IRQ_HANDLER(irq)(void) __attribute__((naked)); \
typedef struct { \
- int dummy[irq >= CONFIG_IRQ_COUNT ? -1 : 1]; \
+ int fake[irq >= CONFIG_IRQ_COUNT ? -1 : 1]; \
} irq_num_check_##irq; \
void __keep routine(void); \
void IRQ_HANDLER(irq)(void) \
diff --git a/core/cortex-m/switch.S b/core/cortex-m/switch.S
index ae76b64c37..f56c5e4c74 100644
--- a/core/cortex-m/switch.S
+++ b/core/cortex-m/switch.S
@@ -80,7 +80,7 @@ __switchto:
.global __task_start
.thumb_func
__task_start:
- ldr r2,=scratchpad @ area used as dummy thread stack for the first switch
+ ldr r2,=scratchpad @ area used as thread stack for the first switch
mov r3, #2 @ use : priv. mode / thread stack / no floating point
@ setting FP to unused here means first context switch
@ will not store FP regs