From 41fa994a86914812d866f4822c0f55a6ed073c39 Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Sun, 12 Apr 2020 16:15:06 -0400 Subject: up to date repo --- asm/macros/function.inc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 asm/macros/function.inc (limited to 'asm/macros/function.inc') 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 -- cgit v1.2.3