pkgsrc/devel/libffi/patches/patch-src_arm_sysv.S
tnn 74f12fad8b libffi: fix ARM build
Restore ifdef toggling .eh_frame exception unwinding.
Seems to have been lost in previous update. PR pkg/55107. Bump.
2020-04-08 13:40:10 +00:00

15 lines
431 B
ArmAsm

$NetBSD: patch-src_arm_sysv.S,v 1.9 2020/04/08 13:40:11 tnn Exp $
fix: libffi.so: undefined reference to `__aeabi_unwind_cpp_pr0'
--- src/arm/sysv.S.orig 2019-10-31 14:49:54.000000000 +0000
+++ src/arm/sysv.S
@@ -53,7 +53,7 @@
#endif
/* Conditionally compile unwinder directives. */
-#ifdef __ARM_EABI__
+#if defined(__ARM_EABI__) && !defined(__ARM_DWARF_EH__)
# define UNWIND(...) __VA_ARGS__
#else
# define UNWIND(...)