From dff14200823269f8fa673de4c4a8d8b5ff3bf7a2 Mon Sep 17 00:00:00 2001 From: Denis Chertykov Date: Mon, 1 May 2000 06:53:41 +0000 Subject: [PATCH] * readelf.c (guess_is_rela): AVR uses RELA relocations. (get_machine_name): machine name for EM_AVR added. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 030251b6716..81a6cba7308 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +Sun Apr 23 14:23:26 2000 Denis Chertykov + + * 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 David Mosberger diff --git a/binutils/readelf.c b/binutils/readelf.c index 504c51bd7fa..a24bbcda263 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, _(": %x"), e_machine); return buff; -- 2.30.2