From dec126b41a0bf2d807c3fc908bd8a0f1a9fa9277 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 8 Jun 2000 03:03:00 +0000 Subject: Update. * dlfcn/dlfcn.h: Pretty print dladdr declaraction. * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK. (_dl_dynamic_weak): New variable. * elf/dl-support.c: Likewise. * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak. * elf/do-lookup.h: If we find a weak definition treat it like a normal symbol unless _dl_dynamic_weak is nonzero. In the latter case treat it like before. --- sysdeps/generic/ldsodefs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 4fc1578a95..e01aed12a3 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -189,6 +189,9 @@ extern int _dl_debug_fd; /* Names of shared object for which the RPATH should be ignored. */ extern const char *_dl_inhibit_rpath; +/* Nonzero if references should be treated as weak during runtime linking. */ +extern int _dl_dynamic_weak; + /* OS-dependent function to open the zero-fill device. */ extern int _dl_sysdep_open_zero_fill (void); /* dl-sysdep.c */ -- cgit 1.4.1