From: Ulrich Drepper Date: Thu, 23 Jul 1998 00:08:44 +0000 (+0000) Subject: Consistantly use elf_ prefix for *_reloc_type functions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b9f0cb69bb89dcce0e60db0d99ae0f447fdcacc;p=binutils-gdb.git Consistantly use elf_ prefix for *_reloc_type functions. --- diff --git a/binutils/readelf.c b/binutils/readelf.c index fc49355a5e8..da733654716 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -458,7 +458,7 @@ dump_relocations (file, rel_offset, rel_size, symtab, strtab) break; case EM_PPC: - rtype = ppc_reloc_type (ELF32_R_TYPE (info)); + rtype = elf_ppc_reloc_type (ELF32_R_TYPE (info)); break; case EM_MIPS: @@ -473,11 +473,11 @@ dump_relocations (file, rel_offset, rel_size, symtab, strtab) case EM_ARM: rtype = elf_arm_reloc_type (ELF32_R_TYPE (info)); break; - + case EM_CYGNUS_ARC: rtype = elf_arc_reloc_type (ELF32_R_TYPE (info)); break; - + case EM_PARISC: rtype = elf32_hppa_reloc_type (ELF32_R_TYPE (info)); break; @@ -1655,12 +1655,12 @@ process_relocs (file) char * strtab; printf (_("\nRelocation section ")); - + if (string_table == NULL) printf ("%d", section->sh_name); else printf ("'%s'", SECTION_NAME (section)); - + printf (_(" at offset 0x%x contains %d entries:\n"), rel_offset, rel_size / section->sh_entsize);