* ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke it to see if the...
[deliverable/binutils-gdb.git] / gas / config / tc-mn10300.h
index 8a2e457eb5a3c71457afb2256fcf4f74a992e491..ca51eda7a34f375749e8755bdfddd502fafdde4f 100644 (file)
@@ -120,3 +120,8 @@ extern bfd_boolean mn10300_allow_local_subtract (expressionS *, expressionS *, s
 
 #define HANDLE_ALIGN(frag) mn10300_handle_align (frag)
 extern void mn10300_handle_align (fragS *);
+
+/* Only allow call frame debug info optimization when linker relaxation is
+   not enabled as otherwise we could generate the DWARF directives without
+   the relocs necessary to patch them up.  */
+#define md_allow_eh_opt (linkrelax == 0)
This page took 0.032707 seconds and 4 git commands to generate.