diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2016-11-01 10:56:23 -0500 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2016-11-01 10:56:23 -0500 |
commit | f09f9cef752c37e3cc0686573c1fdb29da842772 (patch) | |
tree | 22bee285750a6739643859eb6afd52be4ded87e1 /asm/macros/function.inc | |
parent | 442002dada4183c96b5ec09fcde8486aa5ba29b1 (diff) | |
parent | 4db33778ad3faa64d994f46358a28c22c393f7c6 (diff) |
Merge remote-tracking branch 'refs/remotes/pret/master'
Diffstat (limited to 'asm/macros/function.inc')
-rw-r--r-- | asm/macros/function.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/asm/macros/function.inc b/asm/macros/function.inc new file mode 100644 index 000000000..b109595df --- /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 |