2022-01-24 00:51:56 +01:00
|
|
|
.macro arm_func_start name:req
|
2015-10-19 18:42:57 +02:00
|
|
|
.align 2, 0
|
|
|
|
.global \name
|
|
|
|
.arm
|
|
|
|
.type \name, %function
|
|
|
|
.endm
|
|
|
|
|
2022-01-24 00:51:56 +01:00
|
|
|
.macro arm_func_end name:req
|
2015-10-19 18:42:57 +02:00
|
|
|
.size \name, .-\name
|
|
|
|
.endm
|
|
|
|
|
2022-01-24 00:51:56 +01:00
|
|
|
.macro thumb_func_start name:req
|
2015-10-19 18:42:57 +02:00
|
|
|
.align 2, 0
|
|
|
|
.global \name
|
|
|
|
.thumb
|
|
|
|
.thumb_func
|
|
|
|
.type \name, %function
|
|
|
|
.endm
|
|
|
|
|
2022-01-24 00:51:56 +01:00
|
|
|
.macro non_word_aligned_thumb_func_start name:req
|
2015-10-19 18:42:57 +02:00
|
|
|
.global \name
|
|
|
|
.thumb
|
|
|
|
.thumb_func
|
|
|
|
.type \name, %function
|
|
|
|
.endm
|
|
|
|
|
2022-01-24 00:51:56 +01:00
|
|
|
.macro thumb_func_end name:req
|
2015-10-19 18:42:57 +02:00
|
|
|
.size \name, .-\name
|
|
|
|
.endm
|