diff options
author | Stan Cox <scox@redhat.com> | 2003-01-04 02:13:46 +0000 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2003-01-04 02:13:46 +0000 |
commit | 3b36097dde707d7f7506359204a55b6a2e163f71 (patch) | |
tree | 3b663ba9282be7917d9c44e3c6ed522ea2eea771 /binutils/readelf.c | |
parent | e09a710638e62112ae23964e45948bc5ef7bc3d6 (diff) | |
download | gdb-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/readelf.c')
-rw-r--r-- | binutils/readelf.c | 9 |
1 files changed, 8 insertions, 1 deletions
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; |