diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-10-11 12:27:06 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-10-11 12:27:06 -0500 |
commit | c0ce4f82ad10178eab328cb0da3f03639c3b5b8e (patch) | |
tree | 3996e049c7bf2dcbc17c651dc24628e92e80068e /asm/macros/function.inc | |
parent | ad3ef8944eb4e1291c1ac9bcf06a9f5779b20c55 (diff) |
Match first C function
Diffstat (limited to 'asm/macros/function.inc')
-rwxr-xr-x | asm/macros/function.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/asm/macros/function.inc b/asm/macros/function.inc new file mode 100755 index 0000000..b109595 --- /dev/null +++ b/asm/macros/function.inc @@ -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 |