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/bfd/ecoff.c | |
parent | 92f1c99ecf1f56af47848c4531b876e2ce2a75a5 (diff) |
Alpha support based on Chris Demetriou's <cgd@cs.cmu.edu> work
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/ecoff.c')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/ecoff.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/bfd/ecoff.c b/gnu/usr.bin/binutils/bfd/ecoff.c index 63fed728750..90928c7b463 100644 --- a/gnu/usr.bin/binutils/bfd/ecoff.c +++ b/gnu/usr.bin/binutils/bfd/ecoff.c @@ -209,6 +209,7 @@ _bfd_ecoff_set_arch_mach_hook (abfd, filehdr) break; case ALPHA_MAGIC: + case ALPHA_MAGIC_BSD: arch = bfd_arch_alpha; mach = 0; break; @@ -257,7 +258,8 @@ ecoff_get_magic (abfd) return bfd_big_endian (abfd) ? big : little; case bfd_arch_alpha: - return ALPHA_MAGIC; + return (abfd->xvec == &bsd_ecoffalpha_little_vec + ? ALPHA_MAGIC_BSD : ALPHA_MAGIC); default: abort (); |