summaryrefslogtreecommitdiff
path: root/ldso/ldso/m68k
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-19 16:22:54 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-19 16:22:54 +0000
commit4198d8264c6d571e31cd414ce27b477d41646800 (patch)
treeefc91a32b0efd88a335cfcbce6da4c49d4c7d62c /ldso/ldso/m68k
parent8d84dd3fa44ea7c6dc3da1c78aedfb291a7c4689 (diff)
Add new debug target (disabled by default) so that when debug
is on we now default to resolving symbols permanently.. -Erik
Diffstat (limited to 'ldso/ldso/m68k')
-rw-r--r--ldso/ldso/m68k/elfinterp.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/ldso/ldso/m68k/elfinterp.c b/ldso/ldso/m68k/elfinterp.c
index 0fa8da827..e8a942836 100644
--- a/ldso/ldso/m68k/elfinterp.c
+++ b/ldso/ldso/m68k/elfinterp.c
@@ -97,13 +97,16 @@ unsigned int _dl_linux_resolver (int dummy1, int dummy2,
_dl_progname, strtab + symtab[symtab_index].st_name);
_dl_exit (1);
}
-#ifdef DL_DEBUG_SYMBOLS
- if ((unsigned int) got_addr < 0x40000000)
- _dl_dprintf (2, "Calling library function: %s\n",
- strtab + symtab[symtab_index].st_name);
- else
+#ifdef DL_NEVER_FIXUP_SYMBOLS
+ if ((unsigned int) got_addr < 0x40000000) {
+ _dl_dprintf (2, "Calling library function: %s\n",
+ strtab + symtab[symtab_index].st_name);
+ } else {
+ *got_addr = new_addr;
+ }
+#else
+ *got_addr = new_addr;
#endif
- *got_addr = new_addr;
return (unsigned int) new_addr;
}