diff options
author | Cary Coutant <ccoutant@gmail.com> | 2020-12-11 14:05:53 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2020-12-13 15:22:30 -0800 |
commit | 4cf2ad720078a9f490dd5b5bc8893a926479196e (patch) | |
tree | 151332d71c2cbdf5c8c9f7218c6e62aad8a110e4 /binutils | |
parent | f5756acc153e2605a0468b461ff4f6b0942a68b7 (diff) | |
download | gdb-4cf2ad720078a9f490dd5b5bc8893a926479196e.zip gdb-4cf2ad720078a9f490dd5b5bc8893a926479196e.tar.gz gdb-4cf2ad720078a9f490dd5b5bc8893a926479196e.tar.bz2 |
Update ELF headers and readelf with recent e_machine assignments.
binutils/
* readelf.c (get_machine_name): Update list of e_machine values.
include/
* elf/common.h: Update list of e_machine values.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 17 |
2 files changed, 20 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ace5977..6f0ed5e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2020-12-11 Cary Coutant <ccoutant@gmail.com> + + * readelf.c (get_machine_name): Update list of e_machine values. + 2020-12-11 Sebastian Huber <sebastian.huber@embedded-brains.de> * ar.c (write_archive): Cast iostream pointer to FILE *. diff --git a/binutils/readelf.c b/binutils/readelf.c index 7f634d9..ed252f9 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2563,10 +2563,26 @@ get_machine_name (unsigned e_machine) case EM_FT32: return "FTDI Chip FT32"; case EM_MOXIE: return "Moxie"; case EM_AMDGPU: return "AMD GPU"; + /* 230 (all reserved) */ + /* 240 */ case EM_RISCV: return "RISC-V"; case EM_LANAI: return "Lanai 32-bit processor"; + case EM_CEVA: return "CEVA Processor Architecture Family"; + case EM_CEVA_X2: return "CEVA X2 Processor Family"; case EM_BPF: return "Linux BPF"; + case EM_GRAPHCORE_IPU: return "Graphcore Intelligent Processing Unit"; + case EM_IMG1: return "Imagination Technologies"; + /* 250 */ case EM_NFP: return "Netronome Flow Processor"; + case EM_VE: return "NEC Vector Engine"; + case EM_CSKY: return "C-SKY"; + case EM_ARC_COMPACT3_64: return "Synopsys ARCv2.3 64-bit"; + case EM_MCS6502: return "MOS Technology MCS 6502 processor"; + case EM_ARC_COMPACT3: return "Synopsys ARCv2.3 32-bit"; + case EM_KVX: return "Kalray VLIW core of the MPPA processor family"; + case EM_65816: return "WDC 65816/65C816"; + case EM_LOONGARCH: return "Loongson Loongarch"; + case EM_KF32: return "ChipON KungFu32"; /* Large numbers... */ case EM_MT: return "Morpho Techologies MT processor"; @@ -2581,7 +2597,6 @@ get_machine_name (unsigned e_machine) case EM_ADAPTEVA_EPIPHANY: return "Adapteva EPIPHANY"; case EM_CYGNUS_FRV: return "Fujitsu FR-V"; case EM_S12Z: return "Freescale S12Z"; - case EM_CSKY: return "C-SKY"; default: snprintf (buff, sizeof (buff), _("<unknown>: 0x%x"), e_machine); |