diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-09-26 15:02:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 15:02:38 -0400 |
commit | 1016b239186097361ea20f2f91adf3932026f40c (patch) | |
tree | 840a0f28046d3c66fcaf1c2bb8ab3228386a3a8a /berry_fix/payload/asm/macros/function.inc | |
parent | bb236b490d99fef02ed172e7ca86f6c70ef09527 (diff) | |
parent | 208e1c968959c781562f0b94c03368385ce7012c (diff) |
Merge branch 'master' into rename-tablecmds
Diffstat (limited to 'berry_fix/payload/asm/macros/function.inc')
-rw-r--r-- | berry_fix/payload/asm/macros/function.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/berry_fix/payload/asm/macros/function.inc b/berry_fix/payload/asm/macros/function.inc new file mode 100644 index 000000000..67fb373a8 --- /dev/null +++ b/berry_fix/payload/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 |