From: Ian Lance Taylor Date: Thu, 16 Jun 1994 18:25:00 +0000 (+0000) Subject: * aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b0243215cb14baf7a5c9238d9217e8199ad1f07;p=binutils-gdb.git * aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects and treat them as OMAGIC. --- diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 97d3f617b5a..0e5a4d81f6c 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -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 {