From 285d1771e796256eb31ae133bdcb13df1f60c3e9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 17 Jan 2002 23:36:03 +0000 Subject: [PATCH] * readelf.c (get_machine_name): Handle EM_PPC64. (guess_is_rela): Here too. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index fa47f51a9e..2b1e2c5cd1 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2002-01-17 Alan Modra + + * readelf.c (get_machine_name): Handle EM_PPC64. + (guess_is_rela): Here too. + 2002-01-17 Nick Clifton * po/binutils.pot: Regenerate. diff --git a/binutils/readelf.c b/binutils/readelf.c index c8a517f7cc..da706c24a0 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -613,6 +613,7 @@ guess_is_rela (e_machine) case EM_SPARCV9: case EM_SPARC: case EM_PPC: + case EM_PPC64: case EM_V850: case EM_CYGNUS_V850: case EM_D30V: @@ -1390,6 +1391,7 @@ get_machine_name (e_machine) case EM_SPARC32PLUS: return "Sparc v8+" ; case EM_960: return "Intel 90860"; case EM_PPC: return "PowerPC"; + case EM_PPC64: return "PowerPC64"; case EM_V800: return "NEC V800"; case EM_FR20: return "Fujitsu FR20"; case EM_RH32: return "TRW RH32";