.s -> .inc

This commit is contained in:
YamaArashi
2016-11-01 08:29:13 -07:00
parent 2ec5b0cedd
commit a793e62d83
179 changed files with 196 additions and 564 deletions

29
asm/macros/function.inc Normal file
View File

@@ -0,0 +1,29 @@
.macro arm_func_start name
.align 2, 0
.global \name
.arm
.type \name, %function
.endm
.macro arm_func_end name
.size \name, .-\name
.endm
.macro thumb_func_start name
.align 2, 0
.global \name
.thumb
.thumb_func
.type \name, %function
.endm
.macro non_word_aligned_thumb_func_start name
.global \name
.thumb
.thumb_func
.type \name, %function
.endm
.macro thumb_func_end name
.size \name, .-\name
.endm