BFD_INIT_MAGIC
[deliverable/binutils-gdb.git] / binutils / size.c
index 47f14fce333750c1f9a80efa51efe33e31a21bc4..3c72e484752d0272a24ac628f497f89ecf36d547 100644 (file)
@@ -137,7 +137,8 @@ main (int argc, char **argv)
 
   expandargv (&argc, &argv);
 
-  bfd_init ();
+  if (bfd_init () != BFD_INIT_MAGIC)
+    fatal (_("fatal error: libbfd ABI mismatch"));
   set_default_bfd_target ();
 
   while ((c = getopt_long (argc, argv, "ABHhVvdfotx", long_options,
This page took 0.023347 seconds and 4 git commands to generate.