aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Chertykov <denisc@overta.ru>2000-05-01 06:53:41 +0000
committerDenis Chertykov <denisc@overta.ru>2000-05-01 06:53:41 +0000
commitdff14200823269f8fa673de4c4a8d8b5ff3bf7a2 (patch)
tree9253da6d2fe0933590ee3714fe0c00791b887a06
parentc1e73230e6b0d36fbfc4da67e799ef9a07b71c1e (diff)
downloadgdb-dff14200823269f8fa673de4c4a8d8b5ff3bf7a2.zip
gdb-dff14200823269f8fa673de4c4a8d8b5ff3bf7a2.tar.gz
gdb-dff14200823269f8fa673de4c4a8d8b5ff3bf7a2.tar.bz2
* readelf.c (guess_is_rela): AVR uses RELA relocations.
(get_machine_name): machine name for EM_AVR added.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 030251b..81a6cba 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+Sun Apr 23 14:23:26 2000 Denis Chertykov <denisc@overta.ru>
+
+ * readelf.c (guess_is_rela): AVR uses RELA relocations.
+ (get_machine_name): machine name for EM_AVR added.
+
Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
David Mosberger <davidm@hpl.hp.com>
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 504c51b..a24bbcd 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -564,6 +564,7 @@ guess_is_rela (e_machine)
case EM_ALPHA:
case EM_MCORE:
case EM_IA_64:
+ case EM_AVR:
return TRUE;
case EM_MMA:
@@ -1240,7 +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";
+ case EM_AVR: return "Atmel AVR 8-bit microcontroller";
default:
sprintf (buff, _("<unknown>: %x"), e_machine);
return buff;