From 3325198e71fe8e600f585ef3a38c3b5240d440db Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 19 Dec 2002 09:57:54 +0000 Subject: Update. 2002-12-19 Ulrich Drepper * elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if RTLD_CORRECT_DYNAMIC_WEAK is defined. --- nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nptl/sysdeps') diff --git a/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h b/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h index 0481fce185..8f541c5140 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h @@ -30,6 +30,14 @@ #define RTLD_PRIVATE_ERRNO 1 +/* This configuration has in libc.so cancellable functions and other + functions which have to behave differently if the application uses + threads. It is not necessary that the thread library's definitions + are used. Therefore we can finally enabled the correct handling + of weak definitions in ld.so. See rtld.c. */ + +#define RTLD_CORRECT_DYNAMIC_WEAK 1 + /* Traditionally system calls have been made using int $0x80. A second method was introduced which, if possible, will use the -- cgit 1.4.1