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]

[patch] readelf - add i860 support.




2000-08-05  Jason Eckhardt  <jle@cygnus.com>

        * readelf.c (elf/i860.h): Include.
        (dump_relocations): Add recognition of i860 architecture.
	(guess_is_rela): Add recognition of i860 architecture.

Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.66
diff -c -3 -p -r1.66 readelf.c
*** readelf.c	2000/07/20 17:28:56	1.66
--- readelf.c	2000/08/05 16:52:00
***************
*** 72,77 ****
--- 72,78 ----
  #include "elf/avr.h"
  #include "elf/ia64.h"
  #include "elf/cris.h"
+ #include "elf/i860.h"
  
  #include "bucomm.h"
  #include "getopt.h"
*************** guess_is_rela (e_machine)
*** 567,572 ****
--- 568,574 ----
      case EM_IA_64:
      case EM_AVR:
      case EM_CRIS:
+     case EM_860:
        return TRUE;
  
      case EM_MMA:
*************** dump_relocations (file, rel_offset, rel_
*** 884,889 ****
--- 886,895 ----
  
  	case EM_CRIS:
  	  rtype = elf_cris_reloc_type (type);
+ 	  break;
+ 
+ 	case EM_860:
+ 	  rtype = elf_i860_reloc_type (type);
  	  break;
  	}
  

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