aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
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 /binutils/readelf.c
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.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 2 insertions, 1 deletions
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;