projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8150d76
)
* aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects
author
Ian Lance Taylor
<ian@airs.com>
Thu, 16 Jun 1994 18:25:00 +0000
(18:25 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Thu, 16 Jun 1994 18:25:00 +0000
(18:25 +0000)
and treat them as OMAGIC.
bfd/aoutx.h
patch
|
blob
|
history
diff --git
a/bfd/aoutx.h
b/bfd/aoutx.h
index 97d3f617b5a8e7715bde36ba6c9c82adfaad8060..0e5a4d81f6c9181248ab000d356fdb41e5fd0da0 100644
(file)
--- 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
{