Merge pull request #411 from mstorsjo/arm-add-func-markers

Add .func/.endfunc markers in the arm assembly
This commit is contained in:
volvet 2014-03-05 17:40:18 +08:00
commit 7ea70491c8

View File

@ -39,6 +39,9 @@
_$0:
.endm
.macro WELS_ASM_FUNC_END
mov pc, lr
.endm
#else
.macro WELS_ASM_FUNC_BEGIN funcName
@ -46,11 +49,12 @@ _$0:
.arm
.global \funcName
.type \funcName, %function
.func \funcName
\funcName:
.endm
#endif
.macro WELS_ASM_FUNC_END
mov pc, lr
.endfunc
.endm
#endif