diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-06 19:40:38 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-06 19:40:38 +0000 |
commit | df24801a5f097731470ff8835f5c8de5eb2d3b77 (patch) | |
tree | 1549674de068cee75c1c7d1122366397949bfd1e /gnu/usr.bin/binutils/include | |
parent | 92f1c99ecf1f56af47848c4531b876e2ce2a75a5 (diff) |
Alpha support based on Chris Demetriou's <cgd@cs.cmu.edu> work
Diffstat (limited to 'gnu/usr.bin/binutils/include')
-rw-r--r-- | gnu/usr.bin/binutils/include/coff/alpha.h | 3 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/include/coff/ecoff.h | 1 |
2 files changed, 3 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 diff --git a/gnu/usr.bin/binutils/include/coff/ecoff.h b/gnu/usr.bin/binutils/include/coff/ecoff.h index 3710c7329e5..9e4202e4757 100644 --- a/gnu/usr.bin/binutils/include/coff/ecoff.h +++ b/gnu/usr.bin/binutils/include/coff/ecoff.h @@ -24,6 +24,7 @@ /* Alpha magic numbers used in filehdr. */ #define ALPHA_MAGIC 0x183 +#define ALPHA_MAGIC_BSD 0x185 /* Magic numbers used in a.out header. */ #define ECOFF_AOUT_OMAGIC 0407 /* not demand paged (ld -N). */ |