Detect EM_AVR machine number
This commit is contained in:
parent
f3485b74bb
commit
5f8a9d91e7
2 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
* readelf.c (decode_ARM_machine_flags): New function.
|
||||
(get_machine_flags): Call decode_ARM_machine_flags for ARM
|
||||
targets.
|
||||
|
||||
(get_machine_name): Catch EM_AVR
|
||||
|
||||
2000-04-05 Alan Modra <alan@linuxcare.com.au>
|
||||
|
||||
|
|
|
@ -1241,6 +1241,7 @@ get_machine_name (e_machine)
|
|||
case EM_SVX: return "Silicon Graphics SVx";
|
||||
case EM_ST19: return "STMicroelectronics ST19 8-bit microcontroller";
|
||||
case EM_VAX: return "Digital VAX";
|
||||
case EM_AVR: return "AVR";
|
||||
default:
|
||||
sprintf (buff, _("<unknown>: %x"), e_machine);
|
||||
return buff;
|
||||
|
|
Loading…
Reference in a new issue