BFD_INIT_MAGIC
[deliverable/binutils-gdb.git] / binutils / dlltool.c
index 21c95ef2e70092e2cf782f4dddaab0ac65ec4de3..2c751241f14d2d9fb9a59cbb1591e48288b03208 100644 (file)
@@ -3504,7 +3504,8 @@ identify_dll_for_implib (void)
   search_data.symname = "__NULL_IMPORT_DESCRIPTOR";
   search_data.found = FALSE;
 
-  bfd_init ();
+  if (bfd_init () != BFD_INIT_MAGIC)
+    fatal (_("fatal error: libbfd ABI mismatch"));
 
   abfd = bfd_openr (identify_imp_name, 0);
   if (abfd == NULL)
This page took 0.027613 seconds and 4 git commands to generate.