diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-08 09:40:52 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-08 09:40:52 +0000 |
commit | ff1b55eb5e5129913d9fa3bd7f93029a97593142 (patch) | |
tree | 7c5032af1362a9e691b81d2943fb56c6ccbf6694 /ldso/ldso/m68k | |
parent | 134392384ed11a2aa68a09dc7310cebec3b0b960 (diff) |
Seperate out the symbol resolution debugging, so it doesn't clutter
things up when we don't care about symbol resolution problems. Make
the lib loader always look first in the directory where the shared lib
loader was found.
-Erik
Diffstat (limited to 'ldso/ldso/m68k')
-rw-r--r-- | ldso/ldso/m68k/elfinterp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ldso/ldso/m68k/elfinterp.c b/ldso/ldso/m68k/elfinterp.c index 167ce41dd..0fa8da827 100644 --- a/ldso/ldso/m68k/elfinterp.c +++ b/ldso/ldso/m68k/elfinterp.c @@ -83,7 +83,7 @@ unsigned int _dl_linux_resolver (int dummy1, int dummy2, instr_addr = (int) this_reloc->r_offset + (int) tpnt->loadaddr; got_addr = (char **) instr_addr; -#ifdef DL_DEBUG +#ifdef DL_DEBUG_SYMBOLS _dl_dprintf (2, "Resolving symbol %s\n", strtab + symtab[symtab_index].st_name); #endif @@ -97,8 +97,7 @@ unsigned int _dl_linux_resolver (int dummy1, int dummy2, _dl_progname, strtab + symtab[symtab_index].st_name); _dl_exit (1); } -/* #define DL_DEBUG */ -#ifdef DL_DEBUG +#ifdef DL_DEBUG_SYMBOLS if ((unsigned int) got_addr < 0x40000000) _dl_dprintf (2, "Calling library function: %s\n", strtab + symtab[symtab_index].st_name); |