This is the mail archive of the binutils@sourceware.cygnus.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]

Fixes to description of EM numbers


Hi Guys,

  I have just checked in the patch below.  It fixes the descriptions
  of the ELF machine numbers EM_S370 and EM_IA_64.

Cheers
	Nick

2000-01-13  Nick Clifton  <nickc@cygnus.com>

	* common.h (EM_S370): Change comment - this is now the IBM
	System/370.
	(EM_IA_64): Change comment - this is now the IA-64.

Index: common.h
===================================================================
RCS file: /cvs/binutils/binutils/include/elf/common.h,v
retrieving revision 1.9
diff -p -r1.9 common.h
*** common.h	2000/01/11 17:53:33	1.9
--- common.h	2000/01/13 20:11:35
*************** Foundation, Inc., 59 Temple Place - Suit
*** 90,96 ****
  #define EM_486		6	/* Intel 80486 */
  #define EM_860		7	/* Intel 80860 */
  #define EM_MIPS		8	/* MIPS R3000 (officially, big-endian only) */
! #define EM_S370		9	/* Amdahl */
  #define EM_MIPS_RS4_BE 10	/* MIPS R4000 big-endian */ /* Depreciated */
  #define EM_MIPS_RS3_LE 10	/* MIPS R3000 little-endian (Oct 4 1999 Draft)*/ /* Depreciated */
  
--- 90,96 ----
  #define EM_486		6	/* Intel 80486 */
  #define EM_860		7	/* Intel 80860 */
  #define EM_MIPS		8	/* MIPS R3000 (officially, big-endian only) */
! #define EM_S370		9	/* IBM System/370 */
  #define EM_MIPS_RS4_BE 10	/* MIPS R4000 big-endian */ /* Depreciated */
  #define EM_MIPS_RS3_LE 10	/* MIPS R3000 little-endian (Oct 4 1999 Draft)*/ /* Depreciated */
  
*************** Foundation, Inc., 59 Temple Place - Suit
*** 117,123 ****
  #define EM_H8_300H     47       /* Hitachi H8/300H */
  #define EM_H8S         48       /* Hitachi H8S */
  #define EM_H8_500      49       /* Hitachi H8/500 */
! #define EM_IA_64       50       /* Intel MercedTM Processor */
  #define EM_MIPS_X      51       /* Stanford MIPS-X */
  #define EM_COLDFIRE    52       /* Motorola Coldfire */
  #define EM_68HC12      53       /* Motorola M68HC12 */
--- 117,123 ----
  #define EM_H8_300H     47       /* Hitachi H8/300H */
  #define EM_H8S         48       /* Hitachi H8S */
  #define EM_H8_500      49       /* Hitachi H8/500 */
! #define EM_IA_64       50       /* Intel IA-64 Processor */
  #define EM_MIPS_X      51       /* Stanford MIPS-X */
  #define EM_COLDFIRE    52       /* Motorola Coldfire */
  #define EM_68HC12      53       /* Motorola M68HC12 */

2000-01-13  Nick Clifton  <nickc@cygnus.com>

	* readelf.c (get_machine_name): Change EM_S370 to return "IBM
	System/370".

Index: readelf.c
===================================================================
RCS file: /cvs/binutils/binutils/binutils/readelf.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -p -r1.37 -r1.38
*** readelf.c	2000/01/11 17:53:33	1.37
--- readelf.c	2000/01/13 20:13:35	1.38
*************** get_machine_name (e_machine)
*** 1180,1186 ****
      case EM_486:         	return "Intel 80486";
      case EM_860:         	return "Intel 80860";
      case EM_MIPS:        	return "MIPS R3000";
!     case EM_S370:        	return "Amdahl";
      case EM_MIPS_RS4_BE: 	return "MIPS R4000 big-endian";
      case EM_OLD_SPARCV9:	return "Sparc v9 (old)";
      case EM_PARISC:      	return "HPPA";
--- 1180,1186 ----
      case EM_486:         	return "Intel 80486";
      case EM_860:         	return "Intel 80860";
      case EM_MIPS:        	return "MIPS R3000";
!     case EM_S370:        	return "IBM System/370";
      case EM_MIPS_RS4_BE: 	return "MIPS R4000 big-endian";
      case EM_OLD_SPARCV9:	return "Sparc v9 (old)";
      case EM_PARISC:      	return "HPPA";

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