summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd/ecoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/ecoff.c')
-rw-r--r--gnu/usr.bin/binutils/bfd/ecoff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/bfd/ecoff.c b/gnu/usr.bin/binutils/bfd/ecoff.c
index 4b136ee1f88..29e6c63f551 100644
--- a/gnu/usr.bin/binutils/bfd/ecoff.c
+++ b/gnu/usr.bin/binutils/bfd/ecoff.c
@@ -226,6 +226,7 @@ _bfd_ecoff_set_arch_mach_hook (abfd, filehdr)
break;
case ALPHA_MAGIC:
+ case ALPHA_MAGIC_BSD:
arch = bfd_arch_alpha;
mach = 0;
break;
@@ -274,7 +275,7 @@ ecoff_get_magic (abfd)
return bfd_big_endian (abfd) ? big : little;
case bfd_arch_alpha:
- return ALPHA_MAGIC;
+ return ALPHA_MAGIC_BSD;
default:
abort ();