[ip2k-port] patch: use alternate machine code

Denis Chertykov denisc@overta.ru
Thu Oct 17 11:32:00 GMT 2002


2002-10-17  Denis Chertykov  <denisc@overta.ru>

	* elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
	for ip2k port.


===================================================================
RCS file: /cvs/src/src/bfd/elf32-ip2k.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 elf32-ip2k.c
*** elf32-ip2k.c	1 Aug 2002 18:29:09 -0000	1.3
--- elf32-ip2k.c	17 Oct 2002 18:20:02 -0000
*************** ip2k_elf_gc_sweep_hook (abfd, info, sec,
*** 1671,1676 ****
--- 1671,1677 ----
  
  #define ELF_ARCH	 bfd_arch_ip2k
  #define ELF_MACHINE_CODE EM_IP2K
+ #define ELF_MACHINE_ALT1 EM_IP2K_OLD
  #define ELF_MAXPAGESIZE  1 /* No pages on the IP2K */
  
  #define elf_info_to_howto_rel			NULL
*************** ip2k_elf_gc_sweep_hook (abfd, info, sec,
*** 1689,1692 ****
  
  
  #include "elf32-target.h"
- 
--- 1690,1692 ----



More information about the Binutils mailing list