ref: 7ea70491c84fd6255f951ca019f147a211fa0414
parent: eb3dd8f0ae75c88601f005ec67c9592bb0285484
parent: f384dde881420beb3c64c6ddc3e1d8af833310a1
author: volvet <[email protected]>
date: Wed Mar 5 12:40:18 EST 2014
Merge pull request #411 from mstorsjo/arm-add-func-markers Add .func/.endfunc markers in the arm assembly
--- a/codec/common/arm_arch_common_macro.S
+++ b/codec/common/arm_arch_common_macro.S
@@ -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 @@
.arm
.global \funcName
.type \funcName, %function
+.func \funcName
\funcName:
.endm
-#endif
-
.macro WELS_ASM_FUNC_END
mov pc, lr
+.endfunc
.endm
+#endif