diff options
Diffstat (limited to 'berry_fix/asm/macros/function.inc')
-rw-r--r-- | berry_fix/asm/macros/function.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/berry_fix/asm/macros/function.inc b/berry_fix/asm/macros/function.inc new file mode 100644 index 000000000..b109595df --- /dev/null +++ b/berry_fix/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 |