diff options
Diffstat (limited to 'gas/as.c')
-rw-r--r-- | gas/as.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1239,7 +1239,8 @@ main (int argc, char ** argv) out_file_name = OBJ_DEFAULT_OUTPUT_FILE_NAME; hex_init (); - bfd_init (); + if (bfd_init () != BFD_INIT_MAGIC) + as_fatal (_("libbfd ABI mismatch")); bfd_set_error_program_name (myname); #ifdef USE_EMULATIONS |