* aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects
authorIan Lance Taylor <ian@airs.com>
Thu, 16 Jun 1994 18:25:00 +0000 (18:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 16 Jun 1994 18:25:00 +0000 (18:25 +0000)
and treat them as OMAGIC.

bfd/aoutx.h

index 97d3f617b5a8e7715bde36ba6c9c82adfaad8060..0e5a4d81f6c9181248ab000d356fdb41e5fd0da0 100644 (file)
@@ -450,7 +450,8 @@ NAME(aout,some_aout_object_p) (abfd, execp, callback_to_real_object_p)
       abfd->flags |= WP_TEXT;
       adata (abfd).magic = n_magic;
     }
-  else if (N_MAGIC (*execp) == OMAGIC)
+  else if (N_MAGIC (*execp) == OMAGIC
+          || N_MAGIC (*execp) == BMAGIC)
     adata (abfd).magic = o_magic;
   else
     {