diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-16 18:25:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-16 18:25:00 +0000 |
commit | 7b0243215cb14baf7a5c9238d9217e8199ad1f07 (patch) | |
tree | 05517569bcb65e054ba7ac8cc20e4b2e486024af /bfd | |
parent | 8150d7651e60f15071a9f2e57adaabdef0a1ce99 (diff) | |
download | gdb-7b0243215cb14baf7a5c9238d9217e8199ad1f07.zip gdb-7b0243215cb14baf7a5c9238d9217e8199ad1f07.tar.gz gdb-7b0243215cb14baf7a5c9238d9217e8199ad1f07.tar.bz2 |
* aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects
and treat them as OMAGIC.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/aoutx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 97d3f61..0e5a4d8 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 { |