shithub: openh264

Download patch

ref: f384dde881420beb3c64c6ddc3e1d8af833310a1
parent: 975a3e41bc91f59222dc7cbb5b07c9b5b715c164
author: Martin Storsjö <[email protected]>
date: Sat Mar 1 18:35:45 EST 2014

Add .func/.endfunc markers in the arm assembly

This adds information to debug builds.

This requires adding a separate definition of WELS_ASM_FUNC_END
for apple tools.

--- 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