From df18f71b565c29f6f1ebd385cb1aed97d00e9660 Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Thu, 15 Jun 2023 04:45:03 +0100 Subject: Add MIPS Allegrex CPU as a MIPS2-based CPU The Allegrex CPU was created by Sony Interactive Entertainment to power their portable console, the PlayStation Portable. The pspdev organization maintains all sorts of tools to create software for said device including documentation. Signed-off-by: David Guillen Fandos --- binutils/readelf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'binutils/readelf.c') diff --git a/binutils/readelf.c b/binutils/readelf.c index c3e5c58..97d72d0 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4044,6 +4044,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine) case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break; case E_MIPS_MACH_XLR: strcat (buf, ", xlr"); break; case E_MIPS_MACH_IAMR2: strcat (buf, ", interaptiv-mr2"); break; + case E_MIPS_MACH_ALLEGREX: strcat(buf, ", allegrex"); break; case 0: /* We simply ignore the field in this case to avoid confusion: MIPS ELF does not specify EF_MIPS_MACH, it is a GNU -- cgit v1.1