aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m68k.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-09-11 16:07:50 +0000
committerKazu Hirata <kazu@codesourcery.com>2007-09-11 16:07:50 +0000
commit8d100c328c3dc2d4796a0a4532ae90de39fc97b9 (patch)
treec411b8bfdc19a6fef6823b89e8365f90a7936915 /bfd/elf32-m68k.c
parent2f629d2305e935524b49e14da64e1ffe26ea9d6b (diff)
downloadgdb-8d100c328c3dc2d4796a0a4532ae90de39fc97b9.zip
gdb-8d100c328c3dc2d4796a0a4532ae90de39fc97b9.tar.gz
gdb-8d100c328c3dc2d4796a0a4532ae90de39fc97b9.tar.bz2
bfd/
* archures.c: Add bfd_mach_mcf_isa_c_nodiv, bfd_mach_mcf_isa_c_nodiv_mac & bfd_mach_mcf_isa_c_nodiv_emac. * ieee.c (ieee_write_processor): Update coldfire architecture list. * bfd-in2.h: Rebuilt. * cpu-m68k.c (arch_info_struct): Add isa_c nodiv architectures. (m68k_arch_features): Likewise. * elf32-m68k.c (elf32_m68k_object_p): Add EF_M68K_CF_ISA_C_NODIV. (elf32_m68k_print_private_bfd_data): Likewise. gas/ * config/tc-m68k.c (m68k_ip): Add mcfisa_c case. (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV. include/elf/ * m68k.h (EF_M68K_CF_ISA_C_NODIV): New.
Diffstat (limited to 'bfd/elf32-m68k.c')
-rw-r--r--bfd/elf32-m68k.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index ffa1668..b48c09c 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -506,6 +506,9 @@ elf32_m68k_object_p (bfd *abfd)
case EF_M68K_CF_ISA_C:
features |= mcfisa_a|mcfisa_c|mcfhwdiv|mcfusp;
break;
+ case EF_M68K_CF_ISA_C_NODIV:
+ features |= mcfisa_a|mcfisa_c|mcfusp;
+ break;
}
switch (eflags & EF_M68K_CF_MAC_MASK)
{
@@ -658,6 +661,10 @@ elf32_m68k_print_private_bfd_data (abfd, ptr)
case EF_M68K_CF_ISA_C:
isa = "C";
break;
+ case EF_M68K_CF_ISA_C_NODIV:
+ isa = "C";
+ additional = " [nodiv]";
+ break;
}
fprintf (file, " [isa %s]%s", isa, additional);
if (eflags & EF_M68K_CF_FLOAT)