aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1999-02-01 20:39:54 +0000
committerCatherine Moore <clm@redhat.com>1999-02-01 20:39:54 +0000
commite745689c957be21abe278ae81d7a1b12fab9b27a (patch)
treed9d0b262d8702661a8a866afd081e7976fb72723
parent9ac8e451f6a1419a0821e96c684809125b3ed739 (diff)
downloadgdb-e745689c957be21abe278ae81d7a1b12fab9b27a.zip
gdb-e745689c957be21abe278ae81d7a1b12fab9b27a.tar.gz
gdb-e745689c957be21abe278ae81d7a1b12fab9b27a.tar.bz2
* readelf.c (dump_relocations): Handle EM_ARM as REL.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 34f848e..83ce59d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+Mon Feb 1 12:38:01 1999 Catherine Moore <clm@cygnus.com>
+
+ * readelf.c (dump_relocations): Handle EM_ARM as REL.
+
1999-01-29 Nick Clifton <nickc@cygnus.com>
* readelf.c (process_symbol_table): Do not produce a histogram of
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 9547520..a0e0128 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -338,6 +338,7 @@ dump_relocations (file, rel_offset, rel_size, symtab, strtab)
/* Compute number of relocations and read them in. */
switch (elf_header.e_machine)
{
+ case EM_ARM:
case EM_386:
case EM_486:
case EM_CYGNUS_M32R:
@@ -368,7 +369,6 @@ dump_relocations (file, rel_offset, rel_size, symtab, strtab)
}
break;
- case EM_ARM:
case EM_68K:
case EM_SPARC:
case EM_PPC: