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]

MMIX port, part 5/10: binutils.


Ok to commit?

Part 5/10, binutils subdirectory:

	* readelf.c: Include elf/mmix.h.
	(guess_is_rela): MMIX is RELA.
	(dump_relocations): Handle MMIX relocations.
	* Makefile.am: Regenerate dependencies.
	* Makefile.in: Regenerate.

Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.124
diff -p -c -r1.124 readelf.c
*** readelf.c	2001/09/26 01:55:19	1.124
--- readelf.c	2001/09/30 20:48:04
***************
*** 68,73 ****
--- 68,74 ----
  #include "elf/arc.h"
  #include "elf/fr30.h"
  #include "elf/mcore.h"
+ #include "elf/mmix.h"
  #include "elf/i960.h"
  #include "elf/pj.h"
  #include "elf/avr.h"
*************** guess_is_rela (e_machine)
*** 587,592 ****
--- 588,594 ----
      case EM_X86_64:
      case EM_S390:
      case EM_S390_OLD:
+     case EM_MMIX:
        return TRUE;

      case EM_MMA:
*************** dump_relocations (file, rel_offset, rel_
*** 939,944 ****
--- 941,950 ----

  	case EM_MCORE:
  	  rtype = elf_mcore_reloc_type (type);
+ 	  break;
+
+ 	case EM_MMIX:
+ 	  rtype = elf_mmix_reloc_type (type);
  	  break;

  	case EM_PPC:

brgds, H-P


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