Add missing :req, remove old macros

This commit is contained in:
GriffinR
2022-01-23 18:51:56 -05:00
parent 9f2b6ab2f2
commit 2495d18132
15 changed files with 87 additions and 298 deletions
+5 -5
View File
@@ -1,15 +1,15 @@
.macro arm_func_start name
.macro arm_func_start name:req
.align 2, 0
.global \name
.arm
.type \name, %function
.endm
.macro arm_func_end name
.macro arm_func_end name:req
.size \name, .-\name
.endm
.macro thumb_func_start name
.macro thumb_func_start name:req
.align 2, 0
.global \name
.thumb
@@ -17,13 +17,13 @@
.type \name, %function
.endm
.macro non_word_aligned_thumb_func_start name
.macro non_word_aligned_thumb_func_start name:req
.global \name
.thumb
.thumb_func
.type \name, %function
.endm
.macro thumb_func_end name
.macro thumb_func_end name:req
.size \name, .-\name
.endm