diff options
author | Nick Clifton <nickc@redhat.com> | 2000-03-01 20:39:07 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-03-01 20:39:07 +0000 |
commit | 86033394008aa009b3382199efa24b0cfa749862 (patch) | |
tree | d69205614c88f833cf46f7f09efe75b8e65ada6f /bfd/elf32-sh.c | |
parent | 30e28a0e4beb1fae729bf1fd8dcce9074e154b3c (diff) | |
download | gdb-86033394008aa009b3382199efa24b0cfa749862.zip gdb-86033394008aa009b3382199efa24b0cfa749862.tar.gz gdb-86033394008aa009b3382199efa24b0cfa749862.tar.bz2 |
Fix building with --enable-targets=all
Diffstat (limited to 'bfd/elf32-sh.c')
-rw-r--r-- | bfd/elf32-sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c index 1904287..ad60e07 100644 --- a/bfd/elf32-sh.c +++ b/bfd/elf32-sh.c @@ -2101,7 +2101,7 @@ sh_elf_set_mach_from_flags (abfd) { flagword flags = elf_elfheader (abfd)->e_flags; - switch (elf_elfheader (abfd)->e_flags & EF_SH_MACH_MASK) + switch (flags & EF_SH_MACH_MASK) { case EF_SH1: bfd_default_set_arch_mach (abfd, bfd_arch_sh, bfd_mach_sh); |