diff options
author | Martmists <mail@martmists.com> | 2020-04-26 17:49:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 17:49:13 +0200 |
commit | daf2b831efe688dd9ee55f549d00a33c16e840ba (patch) | |
tree | bdb1765edc0c10ec83f02ded9e9c478d01e241a4 /arm9/asm/macros/function.inc | |
parent | f11bca0db09b9e7f7514f5033fe6c31b6efd05e2 (diff) | |
parent | eb0b544c0678a0e601686fc32b6019b4e893d5f9 (diff) |
Merge pull request #27 from PikalaxALT/pikalax_work
Separate build structures for ARM9 and ARM7
Diffstat (limited to 'arm9/asm/macros/function.inc')
-rw-r--r-- | arm9/asm/macros/function.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arm9/asm/macros/function.inc b/arm9/asm/macros/function.inc new file mode 100644 index 00000000..6b9e5f40 --- /dev/null +++ b/arm9/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 |