mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 20:19:49 +00:00
bfd/
* elf32-m69k.c (elf32_m68k_print_private_bfd_data): Detect EMAC_B variant. binutils/ * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B variants.
This commit is contained in:
parent
9d8d6261e3
commit
f608cd77e7
@ -1,3 +1,8 @@
|
|||||||
|
2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* elf32-m69k.c (elf32_m68k_print_private_bfd_data): Detect EMAC_B
|
||||||
|
variant.
|
||||||
|
|
||||||
2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
|
2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR binutils/11909
|
PR binutils/11909
|
||||||
|
@ -1293,6 +1293,9 @@ elf32_m68k_print_private_bfd_data (bfd *abfd, void * ptr)
|
|||||||
case EF_M68K_CF_EMAC:
|
case EF_M68K_CF_EMAC:
|
||||||
mac = "emac";
|
mac = "emac";
|
||||||
break;
|
break;
|
||||||
|
case EF_M68K_CF_EMAC_B:
|
||||||
|
mac = "emac_b";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (mac)
|
if (mac)
|
||||||
fprintf (file, " [%s]", mac);
|
fprintf (file, " [%s]", mac);
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
|
||||||
|
variants.
|
||||||
|
|
||||||
2010-08-13 Tom Tromey <tromey@redhat.com>
|
2010-08-13 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* dwarf.c (process_debug_info): Don't subtract section address
|
* dwarf.c (process_debug_info): Don't subtract section address
|
||||||
|
@ -2310,6 +2310,13 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
|
|||||||
case EF_M68K_CF_ISA_B:
|
case EF_M68K_CF_ISA_B:
|
||||||
isa = "B";
|
isa = "B";
|
||||||
break;
|
break;
|
||||||
|
case EF_M68K_CF_ISA_C:
|
||||||
|
isa = "C";
|
||||||
|
break;
|
||||||
|
case EF_M68K_CF_ISA_C_NODIV:
|
||||||
|
isa = "C";
|
||||||
|
additional = ", nodiv";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
strcat (buf, ", cf, isa ");
|
strcat (buf, ", cf, isa ");
|
||||||
strcat (buf, isa);
|
strcat (buf, isa);
|
||||||
@ -2328,6 +2335,9 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
|
|||||||
case EF_M68K_CF_EMAC:
|
case EF_M68K_CF_EMAC:
|
||||||
mac = "emac";
|
mac = "emac";
|
||||||
break;
|
break;
|
||||||
|
case EF_M68K_CF_EMAC_B:
|
||||||
|
mac = "emac_b";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (mac)
|
if (mac)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user