aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorDenis Chertykov <denisc@overta.ru>2002-10-17 18:27:01 +0000
committerDenis Chertykov <denisc@overta.ru>2002-10-17 18:27:01 +0000
commit0d09fec6a58f0eb973f3cfd2b7d4411407105541 (patch)
tree12a1715dba2f324ff78ff39c1d49296a580e1904 /bfd
parentacf8aed4a6c9a9d255327c1df615a00b956ac780 (diff)
downloadgdb-0d09fec6a58f0eb973f3cfd2b7d4411407105541.zip
gdb-0d09fec6a58f0eb973f3cfd2b7d4411407105541.tar.gz
gdb-0d09fec6a58f0eb973f3cfd2b7d4411407105541.tar.bz2
* elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
for ip2k port.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-ip2k.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ba10387..3df8c96 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-17 Denis Chertykov <denisc@overta.ru>
+
+ * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
+ for ip2k port.
+
2002-10-17 Alan Modra <amodra@bigpond.net.au>
* elfxx-target.h (USE_REL): Don't define as 1.
diff --git a/bfd/elf32-ip2k.c b/bfd/elf32-ip2k.c
index 0194646..67da85c 100644
--- a/bfd/elf32-ip2k.c
+++ b/bfd/elf32-ip2k.c
@@ -1671,6 +1671,7 @@ ip2k_elf_gc_sweep_hook (abfd, info, sec, relocs)
#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
@@ -1689,4 +1690,3 @@ ip2k_elf_gc_sweep_hook (abfd, info, sec, relocs)
#include "elf32-target.h"
-