Detect EM_AVR machine number
authorNick Clifton <nickc@redhat.com>
Thu, 6 Apr 2000 23:21:50 +0000 (23:21 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 6 Apr 2000 23:21:50 +0000 (23:21 +0000)
binutils/ChangeLog
binutils/readelf.c

index 073a3208c73da131014c33eb6b26fbcea8ee6f71..100887145f1e55cda20a3ce8bd969798424ea976 100644 (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>
 
index 0c48c42d3787ae7defa6822359ee41ec84e78229..b6e42bc7f2e236967eb40330b8f1cc176a3c58cf 100644 (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;