summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/include/coff/alpha.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/include/coff/alpha.h')
-rw-r--r--gnu/usr.bin/binutils/include/coff/alpha.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/include/coff/alpha.h b/gnu/usr.bin/binutils/include/coff/alpha.h
index b4466928905..438a8fca81d 100644
--- a/gnu/usr.bin/binutils/include/coff/alpha.h
+++ b/gnu/usr.bin/binutils/include/coff/alpha.h
@@ -14,7 +14,8 @@ struct external_filehdr {
};
/* Magic numbers are defined in coff/ecoff.h. */
-#define ALPHA_ECOFF_BADMAG(x) ((x).f_magic!=ALPHA_MAGIC)
+#define ALPHA_ECOFF_BADMAG(x) \
+ ((x).f_magic != ALPHA_MAGIC && (x).f_magic != ALPHA_MAGIC_BSD)
/* The object type is encoded in the f_flags. */
#define F_ALPHA_OBJECT_TYPE_MASK 0x3000