From 5f8a9d91e7ce5943228b4ec77443369962235108 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 6 Apr 2000 23:21:50 +0000 Subject: Detect EM_AVR machine number --- binutils/ChangeLog | 2 ++ binutils/readelf.c | 1 + 2 files changed, 3 insertions(+) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 073a320..1008871 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/readelf.c b/binutils/readelf.c index 0c48c42..b6e42bc 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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, _(": %x"), e_machine); return buff; -- cgit v1.1