* aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects

and treat them as OMAGIC.
This commit is contained in:
Ian Lance Taylor 1994-06-16 18:25:00 +00:00
parent 8150d7651e
commit 7b0243215c
1 changed files with 2 additions and 1 deletions

View 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
{