summaryrefslogtreecommitdiff
path: root/ldso/ldso/nios2
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/nios2')
-rw-r--r--ldso/ldso/nios2/dl-debug.h18
-rw-r--r--ldso/ldso/nios2/elfinterp.c5
2 files changed, 0 insertions, 23 deletions
diff --git a/ldso/ldso/nios2/dl-debug.h b/ldso/ldso/nios2/dl-debug.h
deleted file mode 100644
index 1fb596ae3..000000000
--- a/ldso/ldso/nios2/dl-debug.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* nios2 shared library loader suppport */
-
-static const char * const _dl_reltypes_tab[] =
- {
- "R_NIOS2_NONE",
- "R_NIOS2_BFD_RELOC_32",
- "R_NIOS2_BFD_RELOC_16",
- "R_NIOS2_BFD_RELOC_8",
- "R_NIOS2_GNU_VTINHERIT",
- "R_NIOS2_GNU_VTENTRY",
- "R_NIOS2_GOT16",
- "R_NIOS2_CALL16",
- "R_NIOS2_JUMP_SLOT",
- "R_NIOS2_GLOB_DAT",
- "R_NIOS2_RELATIVE",
- "R_NIOS2_GOTOFF",
- "R_NIOS2_COPY",
- };
diff --git a/ldso/ldso/nios2/elfinterp.c b/ldso/ldso/nios2/elfinterp.c
index bdbaa3383..bb742d4f4 100644
--- a/ldso/ldso/nios2/elfinterp.c
+++ b/ldso/ldso/nios2/elfinterp.c
@@ -123,13 +123,8 @@ _dl_parse(struct elf_resolve *tpnt, struct r_scope_elem *scope,
if (unlikely(res < 0)) {
int reloc_type = ELF_R_TYPE(rpnt->r_info);
-
_dl_dprintf(2, "can't handle reloc type "
-#if defined (__SUPPORT_LD_DEBUG__)
- "%s\n", _dl_reltypes(reloc_type));
-#else
"%x\n", reloc_type);
-#endif
_dl_exit(-res);
} else if (unlikely(res > 0)) {
_dl_dprintf(2, "can't resolve symbol\n");