* ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke it to see if the...
[deliverable/binutils-gdb.git] / gas / ehopt.c
index 2b0609be005df59ab1423ea342f56bb3c966e9d4..048bc57b5a09f5fbcee50e93ab90e086a9571993 100644 (file)
@@ -275,6 +275,11 @@ check_eh_frame (expressionS *exp, unsigned int *pnbytes)
   if (flag_traditional_format)
     return 0;
 
+#ifdef md_allow_eh_opt
+  if (! md_allow_eh_opt)
+    return 0;
+#endif
+
   /* Select the proper section data.  */
   if (strcmp (segment_name (now_seg), ".eh_frame") == 0)
     d = &eh_frame_data;
This page took 0.024396 seconds and 4 git commands to generate.