aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-27 10:33:19 +0000
committerAlan Modra <amodra@gmail.com>2001-08-27 10:33:19 +0000
commit25a1ff5b2d692cfdd93d0793d4c123e96d2a661d (patch)
treecab3b820d4efe00bdd4f498b61ec7d4411eb3a84
parent6ba045b1293881aae6c8fa795f611e4a1a890463 (diff)
downloadgdb-25a1ff5b2d692cfdd93d0793d4c123e96d2a661d.zip
gdb-25a1ff5b2d692cfdd93d0793d4c123e96d2a661d.tar.gz
gdb-25a1ff5b2d692cfdd93d0793d4c123e96d2a661d.tar.bz2
* readelf.c (dump_relocations): Recognise EM_PPC64.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 53bb6ee..2a7989a 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-27 Alan Modra <amodra@bigpond.net.au>
+
+ * readelf.c (dump_relocations): Recognise EM_PPC64.
+
2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d79ab55..3c29c8d 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -955,6 +955,7 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
break;
case EM_PPC:
+ case EM_PPC64:
rtype = elf_ppc_reloc_type (type);
break;