diff options
author | YamaArashi <shadow962@live.com> | 2016-10-28 15:41:15 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-10-28 15:41:15 -0700 |
commit | d9e59a388c7c4b2464769963b3d58980ce742f70 (patch) | |
tree | dc2c4dc78b6272854bfddd83c029323acd712391 /asm/macros/function.inc | |
parent | 38076cb64093e5d50323075516b832111dc59c92 (diff) |
included .s to .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..67fb373a8 --- /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 |