$NetBSD: patch-mozilla_media_openmax__dl_dl_api_armCOMM__s.h,v 1.1 2018/12/16 08:29:48 ryoon Exp $

--- mozilla/media/openmax_dl/dl/api/armCOMM_s.h.orig	2016-04-07 21:33:22.000000000 +0000
+++ mozilla/media/openmax_dl/dl/api/armCOMM_s.h
@@ -11,6 +11,12 @@
 @//  This file was originally licensed as follows. It has been
 @//  relicensed with permission from the copyright holders.
 @//
+
+#if defined(__ARM_EABI__) && !defined(__ARM_DWARF_EH__)
+#define UNWIND
+#else
+#define UNWIND @
+#endif
 	
 @// 
 @// File Name:  armCOMM_s.h
@@ -175,7 +181,8 @@
 	.object_arch armv4
 	.align	2
 \name :		
-.fnstart
+	.cfi_startproc
+	UNWIND .fnstart
 	@ Save specified R registers
 	_M_GETRREGLIST	\rreg
 	_M_PUSH_RREG
@@ -202,7 +209,8 @@
 	.endif
 	@ Restore any saved R or D registers.
 	_M_RET
-	.fnend	
+	UNWIND .fnend	
+	.cfi_endproc
 	.endfunc
         @ Reset the global stack tracking variables back to their
 	@ initial values.
