From 8193034b1d0e3760dadb06b891a22cd4631c675a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Mar 1998 18:04:16 +0000 Subject: Update. 1998-03-10 17:54 Ulrich Drepper * libc.map: Add _dl_debug_message. * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID before every line. * elf/fini.c: Correctly use new _dl_debug_message function. * elf/init.c: Likewise. * elf/dl-lookup.c: Likewise. * sysdeps/unix/sysv/linux/libc-start.c: Likewise. * elf/dl-load.c: Likewise. Add more debugging prints. * elf/dl-reloc.c: Likewise. * elf/dl-version.c: Likewise. * elf/dl-support.c: Add variables for debugging. * elf/rtld.c: Likewise. Recognize new debug options. * elf/link.h: Declare new variables. * elf/dl-deps.c (_dl_map_object_deps): Little optimizations. * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from kernel headers. Patch by a sun . 1998-03-11 00:16 Tim Waugh * posix/wordexp-test.c (command_line_test): New function to allow testing of specific cases from the command-line. 1998-03-10 Ulrich Drepper * elf/dl-init.c (_dl_init_next): Print nicer messages. * elf/dl-fini.c (_dl_fini): Likewise. * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise. --- elf/link.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'elf/link.h') diff --git a/elf/link.h b/elf/link.h index b2eb572d77..bd9b9e476d 100644 --- a/elf/link.h +++ b/elf/link.h @@ -253,6 +253,9 @@ extern int _dl_debug_libs; extern int _dl_debug_impcalls; extern int _dl_debug_bindings; extern int _dl_debug_symbols; +extern int _dl_debug_versions; +extern int _dl_debug_reloc; +extern int _dl_debug_files; /* File deccriptor to write debug messages to. */ extern int _dl_debug_fd; @@ -267,9 +270,10 @@ extern void _dl_sysdep_output (int fd, const char *string, ...); /* OS-dependent function to write a debug message on the specified descriptor for this. All arguments are `const char *'; args until - a null pointer are concatenated to form the message to print. */ -#define _dl_debug_message(string, args...) \ - _dl_sysdep_output (_dl_debug_fd, string, ##args) + a null pointer are concatenated to form the message to print. If + NEW_LINE is nonzero it is assumed that the message starts on a new + line.*/ +extern void _dl_debug_message (int new_line, const char *string, ...); /* OS-dependent function to write a message on the standard output. All arguments are `const char *'; args until a null pointer -- cgit 1.4.1