aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m68k.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-m68k.h')
-rw-r--r--gas/config/tc-m68k.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/config/tc-m68k.h b/gas/config/tc-m68k.h
index 30d5c8b..bcf4607 100644
--- a/gas/config/tc-m68k.h
+++ b/gas/config/tc-m68k.h
@@ -178,3 +178,13 @@ extern int tc_m68k_regname_to_dw2regnum (char *regname);
#define tc_cfi_frame_initial_instructions tc_m68k_frame_initial_instructions
extern void tc_m68k_frame_initial_instructions (void);
+
+#ifdef TE_UCLINUX
+/* elf2flt does not honor PT_LOAD's from the executable.
+ .text and .eh_frame sections will not end up in the same segment and so
+ we cannot use PC-relative encoding for CFI. */
+# define CFI_DIFF_EXPR_OK 0
+
+/* However, follow compiler's guidance when it specifies encoding for LSDA. */
+# define CFI_DIFF_LSDA_OK 1
+#endif