aboutsummaryrefslogtreecommitdiff
path: root/asm.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm.s')
-rw-r--r--asm.s38
1 files changed, 19 insertions, 19 deletions
diff --git a/asm.s b/asm.s
index b3a6aad..1c3fb58 100644
--- a/asm.s
+++ b/asm.s
@@ -1,47 +1,46 @@
.section .text.__bkpt
.global __bkpt
- .size __bkpt, . - __bkpt
.thumb_func
__bkpt:
bkpt
bx lr
+ .size __bkpt, . - __bkpt
.section .text.__control_r
.global __control_r
- .size __control_r, . - __control_r
.thumb_func
__control_r:
mrs r0, CONTROL
bx lr
+ .size __control_r, . - __control_r
.section .text.__control_w
.global __control_w
- .size __control_w, . - __control_w
.thumb_func
__control_w:
msr CONTROL, r0
bx lr
+ .size __control_w, . - __control_w
.section .text.__cpsid
.global __cpsid
- .size __cpsid, . - __cpsid
.thumb_func
__cpsid:
cpsid i
bx lr
+ .size __cpsid, . - __cpsid
.section .text.__cpsie
.global __cpsie
- .size __cpsie, . - __cpsie
.thumb_func
__cpsie:
cpsie i
bx lr
+ .size __cpsie, . - __cpsie
.section .text.__delay
.global __delay
- .size __delay, . - __delay
.syntax unified
.thumb_func
__delay:
@@ -50,107 +49,108 @@ __delay:
subs r0, #1
bne 1b // Branch to 1 instead of __delay does not generate R_ARM_THM_JUMP8 relocation, which breaks linking on the thumbv6m-none-eabi target
bx lr
+ .size __delay, . - __delay
.section .text.__dmb
.global __dmb
- .size __dmb, . - __dmb
.thumb_func
__dmb:
dmb 0xF
bx lr
+ .size __dmb, . - __dmb
.section .text.__dsb
.global __dsb
- .size __dsb, . - __dsb
.thumb_func
__dsb:
dsb 0xF
bx lr
+ .size __dsb, . - __dsb
.section .text.__isb
.global __isb
- .size __isb, . - __isb
.thumb_func
__isb:
isb 0xF
bx lr
+ .size __isb, . - __isb
.section .text.__msp_r
.global __msp_r
- .size __msp_r, . - __msp_r
.thumb_func
__msp_r:
mrs r0, MSP
bx lr
+ .size __msp_r, . - __msp_r
.section .text.__msp_w
.global __msp_w
- .size __msp_w, . - __msp_w
.thumb_func
__msp_w:
msr MSP, r0
bx lr
+ .size __msp_w, . - __msp_w
.section .text.__nop
.global __nop
- .size __nop, . - __nop
.thumb_func
__nop:
bx lr
+ .size __nop, . - __nop
.section .text.__primask
.global __primask
- .size __primask, . - __primask
.thumb_func
__primask:
mrs r0, PRIMASK
bx lr
+ .size __primask, . - __primask
.section .text.__psp_r
.global __psp_r
- .size __psp_r, . - __psp_r
.thumb_func
__psp_r:
mrs r0, PSP
bx lr
+ .size __psp_r, . - __psp_r
.section .text.__psp_w
.global __psp_w
- .size __psp_w, . - __psp_w
.thumb_func
__psp_w:
msr PSP, r0
bx lr
+ .size __psp_w, . - __psp_w
.section .text.__sev
.global __sev
- .size __sev, . - __sev
.thumb_func
__sev:
sev
bx lr
+ .size __sev, . - __sev
.section .text.__udf
.global __udf
- .size __udf, . - __udf
.thumb_func
__udf:
udf
+ .size __udf, . - __udf
.section .text.__wfe
.global __wfe
- .size __wfe, . - __wfe
.thumb_func
__wfe:
wfe
bx lr
+ .size __wfe, . - __wfe
.section .text.__wfi
.global __wfi
- .size __wfi, . - __wfi
.thumb_func
__wfi:
wfi
+ .size __wfi, . - __wfi
bx lr