summaryrefslogtreecommitdiff
path: root/arm7/asm/macros/function.inc
blob: 6b9e5f40e83962812d6d1f8ae40af750b6812fa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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