diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-11 17:50:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-11 17:50:24 +0000 |
commit | beb5387cf656c281f9cc81d6a04f1085fe534c9a (patch) | |
tree | 0ef71cac8c17d2b5b8375d8854c77b94d61cfa27 /sysdeps/generic | |
parent | c926001f2a943e3208c0d89096926e3a62481cd7 (diff) | |
download | glibc-beb5387cf656c281f9cc81d6a04f1085fe534c9a.zip glibc-beb5387cf656c281f9cc81d6a04f1085fe534c9a.tar.gz glibc-beb5387cf656c281f9cc81d6a04f1085fe534c9a.tar.bz2 |
Update.
2001-01-10 H.J. Lu <hjl@gnu.org>
* elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
* sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
dl-static.
* sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
* sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
* sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
* sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
* sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index d7ce4d0..7d9907b 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -1,5 +1,5 @@ /* Run-time dynamic linker data structures for loaded ELF shared objects. - Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -81,6 +81,12 @@ typedef ElfW(Addr) lookup_t; (map)->l_map_end - (map)->l_map_start) #endif +/* By default we do not need special support to initialize DSOs loaded + by statically linked binaries. */ +#ifndef DL_STATIC_INIT +# define DL_STATIC_INIT(map) +#endif + /* For the version handling we need an array with only names and their hash values. */ struct r_found_version |