aboutsummaryrefslogtreecommitdiff
path: root/libffi/include/ffi.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'libffi/include/ffi.h.in')
-rw-r--r--libffi/include/ffi.h.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in
index c51a809..b37307c 100644
--- a/libffi/include/ffi.h.in
+++ b/libffi/include/ffi.h.in
@@ -183,7 +183,15 @@ extern "C" {
#endif
#endif
-#ifndef LIBFFI_ASM
+#ifdef LIBFFI_ASM
+
+#ifdef HAVE_RO_EH_FRAME
+#define EH_FRAME_FLAGS "a"
+#else
+#define EH_FRAME_FLAGS "aw"
+#endif
+
+#else
/* ---- Generic type definitions ----------------------------------------- */