diff options
author | YamaArashi <shadow962@live.com> | 2015-10-05 06:03:59 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-10-05 06:03:59 -0700 |
commit | 9024595c93acf6b1ee7aa63b9b2d04ee701058c3 (patch) | |
tree | 8bbe44a67d7eb6092722e67a09e5ab7d3d7c7b22 /asm/macros.s | |
parent | 7f3c790d09b2736c5470535fbed5e06784821669 (diff) |
split out files and add build batch file
Diffstat (limited to 'asm/macros.s')
-rw-r--r-- | asm/macros.s | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/asm/macros.s b/asm/macros.s new file mode 100644 index 000000000..b109595df --- /dev/null +++ b/asm/macros.s @@ -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 |