diff options
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r-- | binutils/dlltool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 21c95ef..2c75124 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -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) |