aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Eckhardt <jle@rice.edu>2000-08-08 00:47:04 +0000
committerJason Eckhardt <jle@rice.edu>2000-08-08 00:47:04 +0000
commit535c37ffa808a35df74170425e5dc89d98a5fa29 (patch)
tree077ac6bb0e33f82593b3e2f8f211a85efaf0af96
parentaf1c1752c49aa2699ef9b360ad6b5b9c862021d5 (diff)
downloadgdb-535c37ffa808a35df74170425e5dc89d98a5fa29.zip
gdb-535c37ffa808a35df74170425e5dc89d98a5fa29.tar.gz
gdb-535c37ffa808a35df74170425e5dc89d98a5fa29.tar.bz2
2000-08-05 Jason Eckhardt <jle@cygnus.com>
* readelf.c (elf/i860.h): Include. (dump_relocations): Add recognition of i860 architecture. (guess_is_rela): Add recognition of i860 architecture.
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/readelf.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index ab61a65..cd1f4d3 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2000-08-05 Jason Eckhardt <jle@cygnus.com>
+
+ * readelf.c (elf/i860.h): Include.
+ (dump_relocations): Add recognition of i860 architecture.
+ (guess_is_rela): Add recognition of i860 architecture.
+
2000-08-03 Nick Clifton <nickc@cygnus.com>
* MAINTAINERS: Add information about CGEN maintainers.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index ecd13be..c211d1e 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -72,6 +72,7 @@
#include "elf/avr.h"
#include "elf/ia64.h"
#include "elf/cris.h"
+#include "elf/i860.h"
#include "bucomm.h"
#include "getopt.h"
@@ -567,6 +568,7 @@ guess_is_rela (e_machine)
case EM_IA_64:
case EM_AVR:
case EM_CRIS:
+ case EM_860:
return TRUE;
case EM_MMA:
@@ -885,6 +887,10 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
case EM_CRIS:
rtype = elf_cris_reloc_type (type);
break;
+
+ case EM_860:
+ rtype = elf_i860_reloc_type (type);
+ break;
}
if (rtype == NULL)