From 7b0243215cb14baf7a5c9238d9217e8199ad1f07 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 16 Jun 1994 18:25:00 +0000 Subject: [PATCH] * aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects and treat them as OMAGIC. --- bfd/aoutx.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.30.2