summaryrefslogtreecommitdiff
path: root/ldso/ldso/mips/elfinterp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-05 18:21:12 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-05 18:21:12 +0000
commit449caad5c792628b138bb84f4092de071af652e5 (patch)
tree36da8874c87bd5c1bc5fc6da22033a2ab747df6d /ldso/ldso/mips/elfinterp.c
parentd9caf7de9815201ee6ddeeb21f57780fc75c0065 (diff)
Massive scrubbing of the shared lib loader error handling.
Move all configuration options into the new config system. -Erik
Diffstat (limited to 'ldso/ldso/mips/elfinterp.c')
-rw-r--r--ldso/ldso/mips/elfinterp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c
index bac0cf584..182a79fc0 100644
--- a/ldso/ldso/mips/elfinterp.c
+++ b/ldso/ldso/mips/elfinterp.c
@@ -56,7 +56,7 @@ unsigned long _dl_linux_resolver(unsigned long sym_index,
*(got + local_gotno + sym_index - gotsym) = value;
-#ifdef LD_DEBUG
+#if defined (__SUPPORT_LD_DEBUG__)
_dl_dprintf(2, "---RESOLVER---\n");
_dl_dprintf(2, "SYMTAB INDEX: %i\n", sym_index);
_dl_dprintf(2, " GOTSYM: %i\n", gotsym);
@@ -164,7 +164,7 @@ void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt)
/* Relocate the global GOT entries for the object */
while(i--) {
-#ifdef LD_DEBUG
+#if defined (__SUPPORT_LD_DEBUG__)
_dl_dprintf(2,"BEFORE: %s=%x\n", strtab + sym->st_name,
*got_entry);
#endif
@@ -192,7 +192,7 @@ void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt)
sym->st_name, tpnt->symbol_scope, NULL, copyrel);
}
-#ifdef LD_DEBUG
+#if defined (__SUPPORT_LD_DEBUG__)
if (*got_entry == 0)
_dl_dprintf(2,"ZERO: %s\n", strtab + sym->st_name);
else