diff options
author | YamaArashi <shadow962@live.com> | 2016-11-01 08:29:13 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-11-01 08:29:13 -0700 |
commit | a793e62d8364996a276c048bc55ae072a285053a (patch) | |
tree | d380305bb5605c85924a10ad8bcd00edad44c683 /asm/macros/function.inc | |
parent | 2ec5b0cedd27bd028535fb13dcdb2f8e0efa58da (diff) |
.s -> .inc
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 000000000..b109595df --- /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 |