* readelf.c (guess_is_rela): Handle EM_IQ2000.

(get_machine_name): Likewise.
	(dump_relocations): Likewise.
	* NEWS: Mention IQ2000 support.
This commit is contained in:
Stan Cox 2003-01-04 02:13:46 +00:00
parent e09a710638
commit 3b36097dde
4 changed files with 18 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2003-01-02 Ben Elliston <bje@redhat.com>
* readelf.c (guess_is_rela): Handle EM_IQ2000.
(get_machine_name): Likewise.
(dump_relocations): Likewise.
* NEWS: Mention IQ2000 support.
2003-01-02 Richard Sandiford <rsandifo@redhat.com>
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.

View file

@ -65,6 +65,7 @@ responsibility among the other maintainers.
HPPA elf64 Jeff Law <law@redhat.com> [Basic maintainance only]
HPPA Dave Anglin <dave.anglin@nrc.ca>
IA64 Jim Wilson <wilson@redhat.com>
IQ2000 Stan Cox <scox@redhat.com>
i860 Jason Eckhardt <jle@redhat.com>
ix86 Alan Modra <amodra@bigpond.net.au>
ix86 PE Christopher Faylor <cgf@redhat.com>

View file

@ -1,5 +1,7 @@
-*- text -*-
* Support for Vitesse IQ2000 added by Red Hat.
* Added 'S' encoding to strings to allow the display of 8-bit characters.
* Added --prefix-symbols=<text>, --prefix-sections=<text> and

View file

@ -86,6 +86,7 @@
#include "elf/vax.h"
#include "elf/x86-64.h"
#include "elf/xstormy16.h"
#include "elf/iq2000.h"
#include "bucomm.h"
#include "getopt.h"
@ -763,6 +764,7 @@ guess_is_rela (e_machine)
case EM_VAX:
case EM_IP2K:
case EM_IP2K_OLD:
case EM_IQ2000:
return TRUE;
case EM_MMA:
@ -1245,6 +1247,10 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
case EM_IP2K_OLD:
rtype = elf_ip2k_reloc_type (type);
break;
case EM_IQ2000:
rtype = elf_iq2000_reloc_type (type);
break;
}
if (rtype == NULL)
@ -1704,7 +1710,7 @@ get_machine_name (e_machine)
case EM_ZSP: return "LSI Logic's 16-bit DSP processor";
case EM_MMIX: return "Donald Knuth's educational 64-bit processor";
case EM_HUANY: return "Harvard Universitys's machine-independent object format";
case EM_PRISM: return "SiTera Prism";
case EM_PRISM: return "Vitesse Prism";
case EM_X86_64: return "Advanced Micro Devices X86-64";
case EM_S390_OLD:
case EM_S390: return "IBM S/390";
@ -1714,6 +1720,7 @@ get_machine_name (e_machine)
case EM_DLX: return "OpenDLX";
case EM_IP2K_OLD:
case EM_IP2K: return "Ubicom IP2xxx 8-bit microcontrollers";
case EM_IQ2000: return "Vitesse IQ2000";
default:
sprintf (buff, _("<unknown>: %x"), e_machine);
return buff;