diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2003-10-04 20:07:24 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2003-10-04 20:07:24 +0000 |
commit | 17e58af002ea3495592011fd3dfee63cf999aba5 (patch) | |
tree | cbb6db95b6308888aa36a2493c8e4cabdba4a66c /bfd/elf32-m68hc1x.c | |
parent | 3394863543b5bb8b50902573cba4c0a4bf8ddbf3 (diff) | |
download | gdb-17e58af002ea3495592011fd3dfee63cf999aba5.zip gdb-17e58af002ea3495592011fd3dfee63cf999aba5.tar.gz gdb-17e58af002ea3495592011fd3dfee63cf999aba5.tar.bz2 |
* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge
of flags between HC12 and HCS12.
Diffstat (limited to 'bfd/elf32-m68hc1x.c')
-rw-r--r-- | bfd/elf32-m68hc1x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-m68hc1x.c b/bfd/elf32-m68hc1x.c index 8d71cb6..1242635 100644 --- a/bfd/elf32-m68hc1x.c +++ b/bfd/elf32-m68hc1x.c @@ -1375,8 +1375,8 @@ _bfd_m68hc11_elf_merge_private_bfd_data (ibfd, obfd) elf_elfheader (obfd)->e_flags = new_flags; - new_flags &= ~EF_M68HC11_ABI; - old_flags &= ~EF_M68HC11_ABI; + new_flags &= ~(EF_M68HC11_ABI | EF_M68HC11_MACH_MASK); + old_flags &= ~(EF_M68HC11_ABI | EF_M68HC11_MACH_MASK); /* Warn about any other mismatches */ if (new_flags != old_flags) |