* readelf.c (guess_is_rela): AVR uses RELA relocations.

(get_machine_name): machine name for EM_AVR added.
This commit is contained in:
Denis Chertykov 2000-05-01 06:53:41 +00:00
parent c1e73230e6
commit dff1420082
2 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -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;