aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-01-16 04:10:23 +0000
committerAlan Modra <amodra@gmail.com>2003-01-16 04:10:23 +0000
commitc833c0197bfa4c7c26349e0170ee995a080f89ce (patch)
tree065f0b30d697f998a9105ab1705608794287a038 /binutils/readelf.c
parent04c9666ac818e3d8060da72c6d31b837821e77c8 (diff)
downloadgdb-c833c0197bfa4c7c26349e0170ee995a080f89ce.zip
gdb-c833c0197bfa4c7c26349e0170ee995a080f89ce.tar.gz
gdb-c833c0197bfa4c7c26349e0170ee995a080f89ce.tar.bz2
* readelf.c: Include elf/ppc64.h.
(dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index dccbfc1..a53f3f7 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -79,6 +79,7 @@
#include "elf/or32.h"
#include "elf/pj.h"
#include "elf/ppc.h"
+#include "elf/ppc64.h"
#include "elf/s390.h"
#include "elf/sh.h"
#include "elf/sparc.h"
@@ -1165,10 +1166,13 @@ 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;
+ case EM_PPC64:
+ rtype = elf_ppc64_reloc_type (type);
+ break;
+
case EM_MIPS:
case EM_MIPS_RS3_LE:
rtype = elf_mips_reloc_type (type);