aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-23 00:08:44 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-23 00:08:44 +0000
commit3b9f0cb69bb89dcce0e60db0d99ae0f447fdcacc (patch)
tree287cb1031ed080c7d2c35f8aa4c8820f883a6a3e
parent873e2f6aa67c427acfd26e1eceb6a3aa77231ca9 (diff)
downloadgdb-3b9f0cb69bb89dcce0e60db0d99ae0f447fdcacc.zip
gdb-3b9f0cb69bb89dcce0e60db0d99ae0f447fdcacc.tar.gz
gdb-3b9f0cb69bb89dcce0e60db0d99ae0f447fdcacc.tar.bz2
Consistantly use elf_ prefix for *_reloc_type functions.
-rw-r--r--binutils/readelf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index fc49355..da73365 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);