Detect EM_AVR machine number

This commit is contained in:
Nick Clifton 2000-04-06 23:21:50 +00:00
parent f3485b74bb
commit 5f8a9d91e7
2 changed files with 3 additions and 0 deletions

View file

@ -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>

View file

@ -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;