aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-04-06 23:21:50 +0000
committerNick Clifton <nickc@redhat.com>2000-04-06 23:21:50 +0000
commit5f8a9d91e7ce5943228b4ec77443369962235108 (patch)
treea6d40de2a7214284c4954e889f6d3339eb32c0a9 /binutils/readelf.c
parentf3485b74bb07e89c727a105df066b699cbdfc44c (diff)
downloadgdb-5f8a9d91e7ce5943228b4ec77443369962235108.zip
gdb-5f8a9d91e7ce5943228b4ec77443369962235108.tar.gz
gdb-5f8a9d91e7ce5943228b4ec77443369962235108.tar.bz2
Detect EM_AVR machine number
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c1
1 files changed, 1 insertions, 0 deletions
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, _("<unknown>: %x"), e_machine);
return buff;