summaryrefslogtreecommitdiff
path: root/asm/macros/function.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2022-02-02 22:09:36 -0500
committerGitHub <noreply@github.com>2022-02-02 22:09:36 -0500
commit7d2344c07bea9a46993a92d4611fba80545acdd2 (patch)
tree9f865097bfc54f3c9ac885d9f1ec721f01d74eab /asm/macros/function.inc
parentf494238a9d1f8f486891845a43983e187dbeadf0 (diff)
parentdc7d86f026c01682bd024fabb0ce206eacb81c35 (diff)
Merge pull request #1616 from GriffinRichards/missing-req
Add missing :req, remove old macros
Diffstat (limited to 'asm/macros/function.inc')
-rw-r--r--asm/macros/function.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/asm/macros/function.inc b/asm/macros/function.inc
index b109595df..0f4e6720c 100644
--- a/asm/macros/function.inc
+++ b/asm/macros/function.inc
@@ -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