* readelf.c (get_machine_name): Handle EM_PPC64.
authorAlan Modra <amodra@gmail.com>
Thu, 17 Jan 2002 23:36:03 +0000 (23:36 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 17 Jan 2002 23:36:03 +0000 (23:36 +0000)
(guess_is_rela): Here too.

binutils/ChangeLog
binutils/readelf.c

index fa47f51a9e041ffc6bf1033cf619eebb74fd49dd..2b1e2c5cd1eaa981c5cf2e2f04f7d4c4054d709d 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (get_machine_name): Handle EM_PPC64.
+       (guess_is_rela): Here too.
+
 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * po/binutils.pot: Regenerate.
index c8a517f7ccb0f9dfb465d2bd3cd50aa94f565699..da706c24a0334953536eff5964bacda84014a9ab 100644 (file)
@@ -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";