plugin: Don't invoke LTO-wrapper
[deliverable/binutils-gdb.git] / binutils / windres.c
index 76558484b8cfc3ed4708ec9fb65fb2e866abe085..9b921ba2bc654258543fc1a5d748a9fa95fdf12f 100644 (file)
@@ -1,5 +1,5 @@
 /* windres.c -- a program to manipulate Windows resources
-   Copyright (C) 1997-2018 Free Software Foundation, Inc.
+   Copyright (C) 1997-2020 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Cygnus Support.
    Rewritten by Kai Tietz, Onevision.
 
@@ -812,7 +812,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 ();
 
   res_init ();
This page took 0.023655 seconds and 4 git commands to generate.