+2002-07-18 Denis Chertykov <denisc@overta.ru>
+ Frank Ch. Eigler <fche@redhat.com>
+
+ * readelf.c: Include "elf/ip2k.h".
+ (guess_is_rela): Add support for EM_IP2K and EM_IP2K_OLD.
+ (dump_relocations): Likewise.
+ (get_machine_name): Likewise.
+ * NEWS: Mention IP2K support.
+
2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
* NEWS: Add 'Changes in 2.13'.
-*- text -*-
+
+* Support for IP2K added by Denis Chertykov.
+
Changes in 2.13:
* Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
#include "elf/i860.h"
#include "elf/i960.h"
#include "elf/ia64.h"
+#include "elf/ip2k.h"
#include "elf/m32r.h"
#include "elf/m68k.h"
#include "elf/m68hc11.h"
case EM_MMIX:
case EM_XSTORMY16:
case EM_VAX:
+ case EM_IP2K:
+ case EM_IP2K_OLD:
return TRUE;
case EM_MMA:
case EM_VAX:
rtype = elf_vax_reloc_type (type);
break;
+
+ case EM_IP2K:
+ case EM_IP2K_OLD:
+ rtype = elf_ip2k_reloc_type (type);
+ break;
}
if (rtype == NULL)
case EM_OPENRISC:
case EM_OR32: return "OpenRISC";
case EM_DLX: return "OpenDLX";
+ case EM_IP2K_OLD:
+ case EM_IP2K: return "Ubicom IP2xxx 8-bit microcontrollers";
default:
sprintf (buff, _("<unknown>: %x"), e_machine);
return buff;