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]

New Port: iq2000 binutils


These are the binutils changes for a new port to the Vitesse IQ2000.

	* readelf.c (guess_is_rela): Handle EM_DENALI.
	(get_machine_name): Ditto.
	(dump_relocations): Ditto.

Index: binutils/readelf.c
===================================================================
RCS file: /cvs/uberbaum/./binutils/readelf.c,v
retrieving revision 1.174
diff -u -2 -p -r1.174 readelf.c
--- binutils/readelf.c	12 Sep 2002 10:35:54 -0000	1.174
+++ binutils/readelf.c	26 Nov 2002 03:54:07 -0000
@@ -86,4 +86,5 @@
 #include "elf/x86-64.h"
 #include "elf/xstormy16.h"
+#include "elf/iq2000.h"
 
 #include "bucomm.h"
@@ -657,4 +658,5 @@ guess_is_rela (e_machine)
     case EM_IP2K:
     case EM_IP2K_OLD:
+    case EM_IQ2000:
       return TRUE;
 
@@ -1141,4 +1143,8 @@ dump_relocations (file, rel_offset, rel_
 	  rtype = elf_ip2k_reloc_type (type);
 	  break;
+
+	case EM_IQ2000:
+	  rtype = elf_iq2000_reloc_type (type);
+	  break;
 	}
 
@@ -1585,4 +1591,5 @@ get_machine_name (e_machine)
     case EM_IP2K_OLD:
     case EM_IP2K:               return "Ubicom IP2xxx 8-bit microcontrollers";
+    case EM_IQ2000:       	return "IQ 2000";
     default:
       sprintf (buff, _("<unknown>: %x"), e_machine);

 



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