mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 12:09:49 +00:00
Rename EM_486 to EM_IAMCU
bfd/ * elfcode.h (elf_object_p): Replace EM_486 with EM_IAMCU. binutils/ * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU. * readelf.c (guess_is_rela): Likewise. (dump_relocations): Likewise. (get_machine_name): Likewise. (get_elf_section_flags): Likewise. (process_section_headers): Likewise. (is_32bit_abs_reloc): Likewise. (is_32bit_pcrel_reloc): Likewise. include/elf/ * common.h (EM_486): Renamed to ... (EM_IAMCU): This.
This commit is contained in:
parent
415158ef39
commit
22abe5566a
@ -1,3 +1,7 @@
|
||||
2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elfcode.h (elf_object_p): Replace EM_486 with EM_IAMCU.
|
||||
|
||||
2015-05-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf32-i386.c (elf_i386_convert_mov_to_lea): Replace input_bfd
|
||||
|
@ -712,7 +712,7 @@ elf_object_p (bfd *abfd)
|
||||
switch (ebd->elf_machine_code)
|
||||
{
|
||||
case EM_386:
|
||||
case EM_486:
|
||||
case EM_IAMCU:
|
||||
case EM_X86_64:
|
||||
case EM_OLD_SPARCV9:
|
||||
case EM_SPARC32PLUS:
|
||||
|
@ -1,3 +1,14 @@
|
||||
2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU.
|
||||
* readelf.c (guess_is_rela): Likewise.
|
||||
(dump_relocations): Likewise.
|
||||
(get_machine_name): Likewise.
|
||||
(get_elf_section_flags): Likewise.
|
||||
(process_section_headers): Likewise.
|
||||
(is_32bit_abs_reloc): Likewise.
|
||||
(is_32bit_pcrel_reloc): Likewise.
|
||||
|
||||
2015-04-30 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* readelf.c (get_machine_flags): Add description of MeP flags.
|
||||
|
@ -5413,7 +5413,7 @@ init_dwarf_regnames (unsigned int e_machine)
|
||||
switch (e_machine)
|
||||
{
|
||||
case EM_386:
|
||||
case EM_486:
|
||||
case EM_IAMCU:
|
||||
init_dwarf_regnames_i386 ();
|
||||
break;
|
||||
|
||||
|
@ -701,7 +701,7 @@ guess_is_rela (unsigned int e_machine)
|
||||
{
|
||||
/* Targets that use REL relocations. */
|
||||
case EM_386:
|
||||
case EM_486:
|
||||
case EM_IAMCU:
|
||||
case EM_960:
|
||||
case EM_ARM:
|
||||
case EM_D10V:
|
||||
@ -1178,7 +1178,7 @@ dump_relocations (FILE * file,
|
||||
break;
|
||||
|
||||
case EM_386:
|
||||
case EM_486:
|
||||
case EM_IAMCU:
|
||||
rtype = elf_i386_reloc_type (type);
|
||||
break;
|
||||
|
||||
@ -2091,7 +2091,7 @@ get_machine_name (unsigned e_machine)
|
||||
case EM_386: return "Intel 80386";
|
||||
case EM_68K: return "MC68000";
|
||||
case EM_88K: return "MC88000";
|
||||
case EM_486: return "Intel 80486";
|
||||
case EM_IAMCU: return "Intel MCU";
|
||||
case EM_860: return "Intel 80860";
|
||||
case EM_MIPS: return "MIPS R3000";
|
||||
case EM_S370: return "IBM System/370";
|
||||
@ -5252,7 +5252,7 @@ get_elf_section_flags (bfd_vma sh_flags)
|
||||
break;
|
||||
|
||||
case EM_386:
|
||||
case EM_486:
|
||||
case EM_IAMCU:
|
||||
case EM_X86_64:
|
||||
case EM_L1OM:
|
||||
case EM_K1OM:
|
||||
@ -5734,7 +5734,7 @@ process_section_headers (FILE * file)
|
||||
switch (elf_header.e_machine)
|
||||
{
|
||||
case EM_386:
|
||||
case EM_486:
|
||||
case EM_IAMCU:
|
||||
case EM_X86_64:
|
||||
case EM_L1OM:
|
||||
case EM_K1OM:
|
||||
@ -11253,7 +11253,7 @@ is_32bit_abs_reloc (unsigned int reloc_type)
|
||||
switch (elf_header.e_machine)
|
||||
{
|
||||
case EM_386:
|
||||
case EM_486:
|
||||
case EM_IAMCU:
|
||||
return reloc_type == 1; /* R_386_32. */
|
||||
case EM_68K:
|
||||
return reloc_type == 1; /* R_68K_32. */
|
||||
@ -11430,7 +11430,7 @@ is_32bit_pcrel_reloc (unsigned int reloc_type)
|
||||
switch (elf_header.e_machine)
|
||||
{
|
||||
case EM_386:
|
||||
case EM_486:
|
||||
case EM_IAMCU:
|
||||
return reloc_type == 2; /* R_386_PC32. */
|
||||
case EM_68K:
|
||||
return reloc_type == 4; /* R_68K_PC32. */
|
||||
|
@ -1,3 +1,8 @@
|
||||
2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* common.h (EM_486): Renamed to ...
|
||||
(EM_IAMCU): This.
|
||||
|
||||
2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||
|
||||
* s390.h: Define Tag_GNU_S390_ABI_Vector.
|
||||
|
@ -106,7 +106,7 @@
|
||||
#define EM_386 3 /* Intel 80386 */
|
||||
#define EM_68K 4 /* Motorola m68k family */
|
||||
#define EM_88K 5 /* Motorola m88k family */
|
||||
#define EM_486 6 /* Intel 80486 *//* Reserved for future use */
|
||||
#define EM_IAMCU 6 /* Intel MCU */
|
||||
#define EM_860 7 /* Intel 80860 */
|
||||
#define EM_MIPS 8 /* MIPS R3000 (officially, big-endian only) */
|
||||
#define EM_S370 9 /* IBM System/370 */
|
||||
|
Loading…
Reference in New Issue
Block a user