aboutsummaryrefslogtreecommitdiff
path: root/gas/dw2gencfi.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/dw2gencfi.h')
-rw-r--r--gas/dw2gencfi.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/dw2gencfi.h b/gas/dw2gencfi.h
index d570cdb..0f5ae77 100644
--- a/gas/dw2gencfi.h
+++ b/gas/dw2gencfi.h
@@ -66,7 +66,12 @@ extern void cfi_add_CFA_restore_state (void);
#define SUPPORT_COMPACT_EH 0
#endif
-#define MULTIPLE_FRAME_SECTIONS (SUPPORT_FRAME_LINKONCE || SUPPORT_COMPACT_EH)
+#ifndef TARGET_MULTIPLE_EH_FRAME_SECTIONS
+#define TARGET_MULTIPLE_EH_FRAME_SECTIONS 0
+#endif
+
+#define MULTIPLE_FRAME_SECTIONS (SUPPORT_FRAME_LINKONCE || SUPPORT_COMPACT_EH \
+ || TARGET_MULTIPLE_EH_FRAME_SECTIONS)
struct cfi_insn_data
{