aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2003-01-04 02:13:46 +0000
committerStan Cox <scox@redhat.com>2003-01-04 02:13:46 +0000
commit3b36097dde707d7f7506359204a55b6a2e163f71 (patch)
tree3b663ba9282be7917d9c44e3c6ed522ea2eea771 /binutils
parente09a710638e62112ae23964e45948bc5ef7bc3d6 (diff)
downloadgdb-3b36097dde707d7f7506359204a55b6a2e163f71.zip
gdb-3b36097dde707d7f7506359204a55b6a2e163f71.tar.gz
gdb-3b36097dde707d7f7506359204a55b6a2e163f71.tar.bz2
* readelf.c (guess_is_rela): Handle EM_IQ2000.
(get_machine_name): Likewise. (dump_relocations): Likewise. * NEWS: Mention IQ2000 support.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/MAINTAINERS1
-rw-r--r--binutils/NEWS2
-rw-r--r--binutils/readelf.c9
4 files changed, 18 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2f6d1b0..0f8cb39 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS
index ad1ca03..98aa5d9 100644
--- a/binutils/MAINTAINERS
+++ b/binutils/MAINTAINERS
@@ -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>
diff --git a/binutils/NEWS b/binutils/NEWS
index e9e4f40..d538cb4 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=<text>, --prefix-sections=<text> and
diff --git a/binutils/readelf.c b/binutils/readelf.c
index b3d3623..dccbfc1 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, _("<unknown>: %x"), e_machine);
return buff;