From: Stan Cox Date: Sat, 4 Jan 2003 02:13:46 +0000 (+0000) Subject: * readelf.c (guess_is_rela): Handle EM_IQ2000. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b36097dde707d7f7506359204a55b6a2e163f71;p=binutils-gdb.git * readelf.c (guess_is_rela): Handle EM_IQ2000. (get_machine_name): Likewise. (dump_relocations): Likewise. * NEWS: Mention IQ2000 support. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2f6d1b06ddb..0f8cb395fe4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2003-01-02 Ben Elliston + + * readelf.c (guess_is_rela): Handle EM_IQ2000. + (get_machine_name): Likewise. + (dump_relocations): Likewise. + * NEWS: Mention IQ2000 support. + 2003-01-02 Richard Sandiford * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2. diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS index ad1ca03a59d..98aa5d981c8 100644 --- a/binutils/MAINTAINERS +++ b/binutils/MAINTAINERS @@ -65,6 +65,7 @@ responsibility among the other maintainers. HPPA elf64 Jeff Law [Basic maintainance only] HPPA Dave Anglin IA64 Jim Wilson + IQ2000 Stan Cox i860 Jason Eckhardt ix86 Alan Modra ix86 PE Christopher Faylor diff --git a/binutils/NEWS b/binutils/NEWS index e9e4f40f9d7..d538cb42a7d 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -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=, --prefix-sections= and diff --git a/binutils/readelf.c b/binutils/readelf.c index b3d36234faf..dccbfc1949b 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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, _(": %x"), e_machine); return buff;