summaryrefslogtreecommitdiff
path: root/ldso/ldso/dl-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/dl-debug.c')
-rw-r--r--ldso/ldso/dl-debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ldso/ldso/dl-debug.c b/ldso/ldso/dl-debug.c
index bfaaf1903..7ce8bfbce 100644
--- a/ldso/ldso/dl-debug.c
+++ b/ldso/ldso/dl-debug.c
@@ -98,4 +98,9 @@ static void debug_reloc(ElfW(Sym) *symtab, char *strtab, ELF_RELOC *rpnt)
_dl_dprintf(_dl_debug_file, "\n");
}
+#else
+
+#define debug_sym(symtab, strtab, symtab_index)
+#define debug_reloc(symtab, strtab, rpnt)
+
#endif /* __SUPPORT_LD_DEBUG__ */