aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-01-17 23:36:03 +0000
committerAlan Modra <amodra@gmail.com>2002-01-17 23:36:03 +0000
commit285d1771e796256eb31ae133bdcb13df1f60c3e9 (patch)
tree5a563a39d1c3e9304766314f0605837e7635126b /binutils/readelf.c
parent375fc9838201e2dfe78c9b9ac1e3aaecdc1e9f43 (diff)
downloadgdb-285d1771e796256eb31ae133bdcb13df1f60c3e9.zip
gdb-285d1771e796256eb31ae133bdcb13df1f60c3e9.tar.gz
gdb-285d1771e796256eb31ae133bdcb13df1f60c3e9.tar.bz2
* readelf.c (get_machine_name): Handle EM_PPC64.
(guess_is_rela): Here too.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index c8a517f..da706c2 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";