summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-05 10:47:01 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-05 10:47:01 +0000
commitc6d0003bd961c1d72d6563ae03f4a877355b1e4f (patch)
tree3c9940da0789ce8a36545b48ffb85ed0e2a92e71
parent8b03eded3d190469cf02412bc9cfd32004bc26cf (diff)
Fix a misnamed array
-rw-r--r--ldso/ldso/powerpc/elfinterp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ldso/ldso/powerpc/elfinterp.c b/ldso/ldso/powerpc/elfinterp.c
index a091c7f6d..9e5d11030 100644
--- a/ldso/ldso/powerpc/elfinterp.c
+++ b/ldso/ldso/powerpc/elfinterp.c
@@ -29,7 +29,7 @@
*/
#if defined (__SUPPORT_LD_DEBUG__)
-static const char *_dl_reltypes[] =
+static const char *_dl_reltypes_tab[] =
{ "R_PPC_NONE", "R_PPC_ADDR32", "R_PPC_ADDR24", "R_PPC_ADDR16",
"R_PPC_ADDR16_LO", "R_PPC_ADDR16_HI", "R_PPC_ADDR16_HA",
"R_PPC_ADDR14", "R_PPC_ADDR14_BRTAKEN", "R_PPC_ADDR14_BRNTAKEN",
@@ -188,13 +188,7 @@ unsigned long _dl_linux_resolver(struct elf_resolve *tpnt, int reloc_entry)
#endif
if (reloc_type != R_PPC_JMP_SLOT) {
-#if defined (__SUPPORT_LD_DEBUG__)
- _dl_dprintf(2, "%s: Incorrect relocation type [%s] in jump relocation\n",
- _dl_progname,
- (reloc_type<N_RELTYPES)?_dl_reltypes[reloc_type]:"unknown");
-#else
_dl_dprintf(2, "%s: Incorrect relocation type in jump relocation\n", _dl_progname);
-#endif
_dl_exit(1);
};