-Wed Mar 11 10:30:53 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
+ _dl_debug_message.
+
+1998-03-12 Matthias Urlichs <smurf@noris.de>
+
+ * elf/dl-misc.c: Default for debug output should be stderr.
+ * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
+ * elf/dl-lookup.c: reference_name may be NULL or empty.
+
+1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
+
+1998-03-11 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
+
+ * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
+
+1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
+ * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
+
+1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
init stuff.
{
if (*ref == NULL || ELFW(ST_BIND) ((*ref)->st_info) != STB_WEAK)
/* We could find no value for a strong reference. */
- _dl_signal_error (0, reference_name,
+ _dl_signal_error (0, (reference_name && reference_name[0]
+ ? reference_name
+ : (_dl_argv[0] ?: "<main program>")),
make_string (undefined_msg, undef_name));
*ref = NULL;
return 0;
}
if (_dl_debug_bindings)
- _dl_debug_message (1, "binding file ", reference_name, " to ",
- current_value.m->l_name[0]
+ _dl_debug_message (1, "binding file ",
+ (reference_name && reference_name[0]
+ ? reference_name
+ : (_dl_argv[0] ?: "<main program>")),
+ " to ", current_value.m->l_name[0]
? current_value.m->l_name : _dl_argv[0],
": symbol `", undef_name, "'\n", NULL);
}
if (_dl_debug_bindings)
- _dl_debug_message (1, "binding file ", reference_name, " to ",
- current_value.m->l_name[0]
+ _dl_debug_message (1, "binding file ",
+ (reference_name && reference_name[0]
+ ? reference_name
+ : (_dl_argv[0] ?: "<main program>")),
+ " to ", current_value.m->l_name[0]
? current_value.m->l_name : _dl_argv[0],
- ": symbol `", undef_name, "'\n", NULL);
+ ": symbol `", undef_name, "' (skip)\n", NULL);
*ref = current_value.s;
return current_value.m->l_addr;
if (res < 0)
/* Oh, oh. The file named in the relocation entry does not
contain the needed symbol. */
- _dl_signal_error (0, (*reference_name
+ _dl_signal_error (0, (reference_name && reference_name[0]
? reference_name
: (_dl_argv[0] ?: "<main program>")),
make_string ("symbol ", undef_name, ", version ",
{
if (*ref == NULL || ELFW(ST_BIND) ((*ref)->st_info) != STB_WEAK)
/* We could find no value for a strong reference. */
- _dl_signal_error (0, reference_name,
+ _dl_signal_error (0, (reference_name && reference_name[0]
+ ? reference_name
+ : (_dl_argv[0] ?: "<main program>")),
make_string (undefined_msg, undef_name,
", version ", version->name ?: NULL));
*ref = NULL;
}
if (_dl_debug_bindings)
- _dl_debug_message (1, "binding file ", reference_name, " to ",
- current_value.m->l_name[0]
+ _dl_debug_message (1, "binding file ",
+ (reference_name && reference_name[0]
+ ? reference_name
+ : (_dl_argv[0] ?: "<main program>")),
+ " to ", current_value.m->l_name[0]
? current_value.m->l_name : _dl_argv[0],
": symbol `", undef_name, "' [", version->name,
"]\n", NULL);
char buf[sizeof undefined_msg + len];
__mempcpy (__mempcpy (buf, undefined_msg, sizeof undefined_msg - 1),
undef_name, len + 1);
- _dl_signal_error (0, reference_name, buf);
+ _dl_signal_error (0, (reference_namee && reference_name[0]
+ ? reference_name
+ : (_dl_argv[0] ?: "<main program>")), buf);
}
*ref = NULL;
return 0;
}
if (_dl_debug_bindings)
- _dl_debug_message (1, "binding file ", reference_name, " to ",
+ _dl_debug_message (1, "binding file ",
+ (reference_name && reference_name[0]
+ ? reference_name
+ : (_dl_argv[0] ?: "<main program>")),
+ " to ",
current_value.m->l_name[0]
? current_value.m->l_name : _dl_argv[0],
": symbol `", undef_name, "' [", version->name,
- "]\n", NULL);
+ "] (skip)\n", NULL);
*ref = current_value.s;
return current_value.m->l_addr;