* readelf.c: Include elf/ppc64.h.

(dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
	* Makefile.am: Run "make dep-am".
	* Makefile.in: Regenerate.
This commit is contained in:
Alan Modra 2003-01-16 04:10:23 +00:00
parent 04c9666ac8
commit c833c0197b
4 changed files with 25 additions and 12 deletions

View file

@ -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);