diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2020-04-12 16:15:06 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2020-04-12 16:15:06 -0400 |
commit | 41fa994a86914812d866f4822c0f55a6ed073c39 (patch) | |
tree | e4330fbc530a821ab37e7aba10884213b5b2deaf /asm/macros/function.inc | |
parent | 7e14113e47c5c8e2f218c69e11ec947b6a02f66e (diff) |
up to date repo
Diffstat (limited to 'asm/macros/function.inc')
-rw-r--r-- | 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 100644 index 00000000..67fb373a --- /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 |