mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
* aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects
and treat them as OMAGIC.
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user