From 409de04065549094cec4905209aaf90dd7e3060c Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 25 Apr 2020 21:07:47 -0400 Subject: Move arm7 build files to subdirectory --- arm7/asm/macros/function.inc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 arm7/asm/macros/function.inc (limited to 'arm7/asm/macros/function.inc') diff --git a/arm7/asm/macros/function.inc b/arm7/asm/macros/function.inc new file mode 100644 index 00000000..6b9e5f40 --- /dev/null +++ b/arm7/asm/macros/function.inc @@ -0,0 +1,24 @@ + .macro arm_func_start name + .balign 4, 0 + .global \name + .arm + .endm + + .macro arm_func_end name + .size \name, .-\name + .endm + + .macro thumb_func_start name + .balign 4, 0 + .global \name + .thumb + .endm + + .macro non_word_aligned_thumb_func_start name + .global \name + .thumb + .endm + + .macro thumb_func_end name + .size \name, .-\name + .endm -- cgit v1.2.3