Add support for detecting Freescale S12Z binaries in readelf.
* include/elf/common.h (EM_S12Z): New macro * binutils/readelf.c (get_machine_name): EM_S12Z - handle new case.
This commit is contained in:
parent
8727de56b0
commit
637b19704c
@ -1,3 +1,7 @@
|
||||
2018-05-10 John Darrington <john@darrington.wattle.id.au>
|
||||
|
||||
* readelf.c (get_machine_name): EM_S12Z - handle new case.
|
||||
|
||||
2018-05-09 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
|
||||
|
@ -2495,6 +2495,7 @@ get_machine_name (unsigned e_machine)
|
||||
case EM_CYGNUS_MEP: return "Toshiba MeP Media Engine";
|
||||
case EM_ADAPTEVA_EPIPHANY: return "Adapteva EPIPHANY";
|
||||
case EM_CYGNUS_FRV: return "Fujitsu FR-V";
|
||||
case EM_S12Z: return "Freescale S12Z";
|
||||
|
||||
default:
|
||||
snprintf (buff, sizeof (buff), _("<unknown>: 0x%x"), e_machine);
|
||||
|
@ -1,3 +1,7 @@
|
||||
2018-05-10 John Darrington <john@darrington.wattle.id.au>
|
||||
|
||||
* elf/common.h (EM_S12Z): New macro.
|
||||
|
||||
2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
|
||||
|
||||
* mach-o/unwind.h (MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS):
|
||||
|
@ -368,6 +368,9 @@
|
||||
/* Unofficial value for Web Assembly binaries, as used by LLVM. */
|
||||
#define EM_WEBASSEMBLY 0x4157
|
||||
|
||||
/* Freescale S12Z. The Freescale toolchain generates elf files with this value. */
|
||||
#define EM_S12Z 0x4DEF
|
||||
|
||||
/* DLX magic number. Written in the absense of an ABI. */
|
||||
#define EM_DLX 0x5aa5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user