> From: Jeremie Courreges-Anglas <[email protected]>
> Date: Sat, 24 Jul 2021 18:17:18 +0200
> 
> Before:
>  Machine:                           <unknown>: f3
> After:
>  Machine:                           RISC-V
> 
> ok?

sure

> Index: binutils/readelf.c
> ===================================================================
> RCS file: /cvs/src/gnu/usr.bin/binutils-2.17/binutils/readelf.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 readelf.c
> --- binutils/readelf.c        3 May 2021 08:53:25 -0000       1.22
> +++ binutils/readelf.c        24 Jul 2021 16:06:13 -0000
> @@ -1733,6 +1733,7 @@ get_machine_name (unsigned e_machine)
>      case EM_ALTERA_NIOS2:    return "Altera Nios II";
>      case EM_XC16X:           return "Infineon Technologies xc16x";
>      case EM_AARCH64:         return "AArch64";
> +    case EM_RISCV:           return "RISC-V";
>      default:
>        snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_machine);
>        return buff;
> 
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> 
> 

Reply via email to