summaryrefslogtreecommitdiff
path: root/asm/macros/function.inc
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros/function.inc')
-rw-r--r--asm/macros/function.inc9
1 files changed, 2 insertions, 7 deletions
diff --git a/asm/macros/function.inc b/asm/macros/function.inc
index 67fb373a..6b9e5f40 100644
--- a/asm/macros/function.inc
+++ b/asm/macros/function.inc
@@ -1,8 +1,7 @@
.macro arm_func_start name
- .align 2, 0
+ .balign 4, 0
.global \name
.arm
- .type \name, function
.endm
.macro arm_func_end name
@@ -10,18 +9,14 @@
.endm
.macro thumb_func_start name
- .align 2, 0
+ .balign 4, 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