diff options
author | Nick Clifton <nickc@redhat.com> | 2000-04-06 23:21:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-04-06 23:21:50 +0000 |
commit | 5f8a9d91e7ce5943228b4ec77443369962235108 (patch) | |
tree | a6d40de2a7214284c4954e889f6d3339eb32c0a9 /binutils | |
parent | f3485b74bb07e89c727a105df066b699cbdfc44c (diff) | |
download | gdb-5f8a9d91e7ce5943228b4ec77443369962235108.zip gdb-5f8a9d91e7ce5943228b4ec77443369962235108.tar.gz gdb-5f8a9d91e7ce5943228b4ec77443369962235108.tar.bz2 |
Detect EM_AVR machine number
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 2 | ||||
-rw-r--r-- | binutils/readelf.c | 1 |
2 files changed, 3 insertions, 0 deletions
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 <alan@linuxcare.com.au> 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; |