diff options
author | Martmists <mail@martmists.com> | 2020-04-26 23:03:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 23:03:59 +0200 |
commit | e13067a7c4c852559fb2470796b4ac180ffeb0b5 (patch) | |
tree | c3ea46b3c8172061b96be009abd27688120fae24 /arm7/asm/macros/function.inc | |
parent | f19fa5a0c71fa2b80b7b6755ce51c7080f769ffd (diff) | |
parent | af797ab9c5df085597f773e4bcf91ef96f38e81d (diff) |
Merge pull request #30 from red031000/os_lib
merge master (I can't believe I have to make a PR for this, this is stupid)
Diffstat (limited to 'arm7/asm/macros/function.inc')
-rw-r--r-- | arm7/asm/macros/function.inc | 24 |
1 files changed, 24 insertions, 0 deletions
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 |