diff options
Diffstat (limited to 'bfd/elf32-arc.c')
-rw-r--r-- | bfd/elf32-arc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c index 4090b7a..7c856d0 100644 --- a/bfd/elf32-arc.c +++ b/bfd/elf32-arc.c @@ -673,7 +673,7 @@ arc_elf_final_write_processing (bfd * abfd, default: abort (); } - if ((elf_elfheader (abfd)->e_flags & EF_ARC_MACH) == EF_ARC_CPU_GENERIC) + if ((elf_elfheader (abfd)->e_flags & EF_ARC_MACH_MSK) == EF_ARC_CPU_GENERIC) elf_elfheader (abfd)->e_flags |= val; elf_elfheader (abfd)->e_machine = emf; |