This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

powerpc64 readelf


Applying..

binutils/ChangeLog
	* readelf.c (get_machine_name): Handle EM_PPC64.
	(guess_is_rela): Here too.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.146
diff -u -p -r1.146 readelf.c
--- readelf.c	2002/01/16 05:53:08	1.146
+++ readelf.c	2002/01/17 23:33:30
@@ -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";


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]