* aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects
and treat them as OMAGIC.
This commit is contained in:
parent
8150d7651e
commit
7b0243215c
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue