This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[ip2k-port] patch: use alternate machine code
- From: Denis Chertykov <denisc at overta dot ru>
- To: binutils at sources dot redhat dot com
- Cc: Nick Kelsey <nick dot kelsey at ubicom dot com>
- Date: Thu, 17 Oct 2002 22:32:07 +0400
- Subject: [ip2k-port] patch: use alternate machine code
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 ----