kopensolaris-gnu/glibc.git
16 years ago2004-10-18 Roland McGrath <roland@redhat.com>
roland [Tue, 19 Oct 2004 05:12:58 +0000 (05:12 +0000)]
2004-10-18  Roland McGrath  <roland@redhat.com>

[BZ #406]
* Makefile (linuxthreads-CPPFLAGS): New variable;
adds -DIS_IN_linuxthreads=1.
* sysdeps/i386/tls.h: Protect "useldt.h" with
[!IS_IN_linuxthreads && !DO_MODIFY_LDT].
* sysdeps/i386/i686/pt-machine.h: Revert last change.

16 years agoUpdate. fedora-glibc-20041018T2320
drepper [Mon, 18 Oct 2004 23:17:46 +0000 (23:17 +0000)]
Update.

16 years ago(_dl_open_hook): Extern decl.
drepper [Mon, 18 Oct 2004 23:15:33 +0000 (23:15 +0000)]
(_dl_open_hook): Extern decl.
(ptmalloc_init): Don't call _dl_addr when dlopened from statically
linked programs but don't use brk for them either.

16 years agoDefine libdl_hidden_proto and friends.
drepper [Mon, 18 Oct 2004 23:15:10 +0000 (23:15 +0000)]
Define libdl_hidden_proto and friends.

16 years ago(DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define.
drepper [Mon, 18 Oct 2004 23:14:40 +0000 (23:14 +0000)]
(DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define.
(struct dlfcn_hook): New type.
(_dlfcn_hook): New extern decl.
(__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1,
__dlinfo, __dlmopen, __libc_dlsym_private,
__libc_register_dl_open_hook, __libc_register_dlfcn_hook): New
prototypes.
(__dlvsym): Use DL_CALLER_DECL.

16 years ago(libdl): Export _dlfcn_hook@GLIBC_PRIVATE.
drepper [Mon, 18 Oct 2004 23:14:12 +0000 (23:14 +0000)]
(libdl): Export _dlfcn_hook@GLIBC_PRIVATE.

16 years agoDynamic linking in static code support.
drepper [Mon, 18 Oct 2004 23:13:03 +0000 (23:13 +0000)]
Dynamic linking in static code support.

16 years agoCall _dlfcn_hook from libdl.so if not NULL.
drepper [Mon, 18 Oct 2004 23:11:49 +0000 (23:11 +0000)]
Call _dlfcn_hook from libdl.so if not NULL.
Define __ prefixed routine in libc.a and in libdl.a just call it.

16 years agoTesting dynamic loading in statically linked code.
drepper [Mon, 18 Oct 2004 23:10:22 +0000 (23:10 +0000)]
Testing dynamic loading in statically linked code.

16 years ago(routines, elide-routines.os): Set. Add rules to build and test
drepper [Mon, 18 Oct 2004 23:08:31 +0000 (23:08 +0000)]
(routines, elide-routines.os): Set.  Add rules to build and test
tststatic2.

16 years ago(__libc_dlsym_private, __libc_register_dl_open_hook): New functions.
drepper [Mon, 18 Oct 2004 23:07:59 +0000 (23:07 +0000)]
(__libc_dlsym_private, __libc_register_dl_open_hook): New functions.
(__libc_dlopen_mode): Call __libc_register_dl_open_hook and
__libc_register_dlfcn_hook.

16 years ago.
roland [Mon, 18 Oct 2004 18:54:06 +0000 (18:54 +0000)]
.

16 years ago2004-10-18 Roland McGrath <roland@redhat.com>
roland [Mon, 18 Oct 2004 18:53:53 +0000 (18:53 +0000)]
2004-10-18  Roland McGrath  <roland@redhat.com>

* dlfcn/bug-dlsym1.c (main): Remove bogus setenv call.

16 years agoUpdate.
drepper [Mon, 18 Oct 2004 15:44:52 +0000 (15:44 +0000)]
Update.

16 years ago(dl_open_worker): Avoid dereferencing map in statically linked code if
drepper [Mon, 18 Oct 2004 15:37:14 +0000 (15:37 +0000)]
(dl_open_worker): Avoid dereferencing map in statically linked code if
there might none be found.

16 years agoUpdate. fedora-glibc-20041018T0940
aj [Mon, 18 Oct 2004 05:17:42 +0000 (05:17 +0000)]
Update.

16 years ago(__SYSCALL_CLOBBERS): Add "memory".
aj [Mon, 18 Oct 2004 05:16:06 +0000 (05:16 +0000)]
(__SYSCALL_CLOBBERS): Add "memory".

16 years agoUpdate.
drepper [Mon, 18 Oct 2004 05:10:37 +0000 (05:10 +0000)]
Update.

16 years agoAdd libresolv_hidden_def.
drepper [Mon, 18 Oct 2004 05:09:59 +0000 (05:09 +0000)]
Add libresolv_hidden_def.

16 years agoAdd libresolv_hidden_proto for symbols defined, used, and exported in
drepper [Mon, 18 Oct 2004 05:08:27 +0000 (05:08 +0000)]
Add libresolv_hidden_proto for symbols defined, used, and exported in
libresolv.

16 years agoDefine libresolv_hidden_proto and friends.
drepper [Mon, 18 Oct 2004 05:07:45 +0000 (05:07 +0000)]
Define libresolv_hidden_proto and friends.

16 years agoPretty printing.
drepper [Mon, 18 Oct 2004 04:19:48 +0000 (04:19 +0000)]
Pretty printing.

16 years ago2004-10-15 Jakub Jelinek <jakub@redhat.com>
drepper [Mon, 18 Oct 2004 04:17:08 +0000 (04:17 +0000)]
2004-10-15  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-minimal.c (__chk_fail): New.  Add rtld_hidden_def.
* sysdeps/unix/sysv/linux/readonly-area.c: New file.
* sysdeps/i386/i686/memmove.S (__memmove_chk): Add checking
routine.
* sysdeps/i386/i686/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise.
* sysdeps/i386/i686/memset.S (__memset_chk): Likewise.
* sysdeps/i386/i686/memmove-chk.S: New file.
* sysdeps/i386/i686/memcpy-chk.S: Likewise.
* sysdeps/i386/i686/mempcpy-chk.S: Likewise.
* sysdeps/i386/i686/memset-chk.S: Likewise.
* sysdeps/generic/strcat-chk.c (__strcat_chk): Don't __chk_fail
if exactly fitting into buffer.
* sysdeps/generic/strncat-chk.c (__strncat_chk): Likewise.
* sysdeps/generic/readonly-area.c: New file.
* sysdeps/generic/strncpy-chk.c (__strncpy_chk): Only test
destlen once.
* sysdeps/x86_64/memset.S (__memset_chk): Add checking routine.
* sysdeps/x86_64/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/x86_64/mempcpy.S (__memcpy_chk): Define to __mempcpy_chk.
* sysdeps/x86_64/memcpy-chk.S: New file.
* sysdeps/x86_64/mempcpy-chk.S: Likewise.
* sysdeps/x86_64/memset-chk.S: Likewise.
* sysdeps/x86_64/strcpy-chk.S: Likewise.
* sysdeps/x86_64/stpcpy-chk.S: Likewise.
* argp/argp-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
* argp/argp-fs-xinl.c (__OPTIMIZE__): Likewise.
* debug/tst-chk1.c: New test.
* debug/tst-chk2.c: Likewise.
* debug/tst-chk3.c: Likewise.
* debug/test-strcpy_chk.c: Likewise.
* debug/test-stpcpy_chk.c: Likewise.
* debug/vsprintf_chk.c (__vsprintf_chk): If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N.  Add libc_hidden_def.
* debug/Makefile (routines): Add printf_chk, fprintf_chk, vprintf_chk,
vfprintf_chk, gets_chk and readonly-area.
(CFLAGS-*_chk.c): Set.
(tests): Add tst-chk1, tst-chk2, tst-chk3, test-strcpy_chk and
test-stpcpy_chk.
* debug/vprintf_chk.c: New file.
* debug/printf_chk.c: Likewise.
* debug/vfprintf_chk.c: Likewise.
* debug/fprintf_chk.c: Likewise.
* debug/gets_chk.c: Likewise.
* debug/chk_fail.c (__chk_fail): Add libc_hidden_def.
* debug/snprintf_chk.c (__snprintf_chk): Fix order of arguments
passed to __vsnprintf_chk.
* debug/Versions (libc): Export __printf_chk, __fprintf_chk,
__vprintf_chk, __vfprintf_chk and __gets_chk @GLIBC_2.3.4.
* debug/vsnprintf_chk.c (__vsnprintf_chk): Don't call
__vsnprintf, instead create a temporary file with
_IO_strn_jumps jumptable.  If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N.  Add libc_hidden_def.
* libio/Makefile (headers): Add bits/stdio2.h.
* libio/stdio.h: Include <bits/stdio2.h> if __USE_FORTIFY_LEVEL.
(sprintf, snprintf, vsprintf, vsnprintf): Remove defines.
* libio/strfile.h (_IO_strnfile): New type.
(_IO_strn_jumps): New extern.
* libio/vsnprintf.c (_IO_strnfile): Remove.
(_IO_strn_jumps): Remove static.
* libio/bits/stdio2.h: New file.
* libio/vswprintf.c (_IO_strnfile): Rename type to...
(_IO_wstrnfile): ...this.  Adjust all uses.
* libio/libio.h (_IO_FLAGS2_CHECK_PERCENT_N): Define.
* stdio-common/vfprintf.c (STR_LEN): Define.
(vfprintf): Add readonly_format variable.
Handle _IO_FLAGS2_CHECK_PERCENT_N.
(buffered_vfprintf): Copy _flags2.
* include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk,
__vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk,
__vfprintf_chk): New prototypes.
(__vsprintf_chk, __vsnprintf_chk): Add libc_hidden_proto.
* include/string.h (__memcpy_chk, __memmove_chk, __mempcpy_chk,
__memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __strcat_chk,
__strncat_chk): New prototypes.
* include/bits/string3.h: New file.
* include/sys/cdefs.h (__chk_fail): Add libc_hidden_proto
and rtld_hidden_proto.
* string/Makefile (headers): Add bits/string3.h.
* string/bits/string3.h (bcopy, bzero): New defines.
(memset, memcpy, memmove, strcpy, strncpy, strcat, strncat): Change
macros so that inlines are used only if unknown destination size
or side-effects in destination argument.
(mempcpy, stpcpy): Likewise.  Protect with #ifdef __USE_GNU.

2004-09-16  Ulrich Drepper  <drepper@redhat.com>

* debug/Makefile (routines): Add *_chk.
* debug/Versions (libc): Export __chk_fail, __memcpy_chk,
__memmove_chk, __mempcpy_chk, __memset_chk, __stpcpy_chk,
__strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk,
__sprintf_chk, __vsprintf_chk, __snprintf_chk, __vsnprintf_chk
@GLIBC_2.3.4.
* debug/chk_fail.c: New file.
* debug/snprintf_chk.c: Likewise.
* debug/sprintf_chk.c: Likewise.
* debug/vsnprintf_chk.c: Likewise.
* debug/vsprintf_chk.c: Likewise.
* include/features.h (_FORTIFY_SOURCE): Document, handle.
(__USE_FORTIFY_LEVEL): Define.
(__GNUC_PREREQ): Move to earlier location.
* include/sys/cdefs.h (__chk_fail): New prototype.
* libio/bits/stdio.h (sprintf, vsprintf, snprintf, vsnprintf):
Define if __USE_FORTIFY_LEVEL.
* misc/sys/cdefs.h (__bos, __bos0): Define.
* string/string.h: Include <bits/string3.h> if __USE_FORTIFY_LEVEL.
* bits/string/string3.h: New header.
* sysdeps/generic/memcpy_chk.c: New file.
* sysdeps/generic/memmove_chk.c: Likewise.
* sysdeps/generic/mempcpy_chk.c: Likewise.
* sysdeps/generic/memset_chk.c: Likewise.
* sysdeps/generic/stpcpy_chk.c: Likewise.
* sysdeps/generic/strcat_chk.c: Likewise.
* sysdeps/generic/strcpy_chk.c: Likewise.
* sysdeps/generic/strncat_chk.c: Likewise.
* sysdeps/generic/strncpy_chk.c: Likewise.

16 years ago.
roland [Mon, 18 Oct 2004 00:53:16 +0000 (00:53 +0000)]
.

16 years ago2004-10-17 Roland McGrath <roland@frob.com>
roland [Mon, 18 Oct 2004 00:53:12 +0000 (00:53 +0000)]
2004-10-17  Roland McGrath  <roland@frob.com>

* manual/memory.texi (Page Lock Functions): Typo fix.
Reported by Carlos Maziero <maziero@ppgia.pucpr.br>

16 years ago.
roland [Sun, 17 Oct 2004 20:00:34 +0000 (20:00 +0000)]
.

16 years ago2004-10-16 Alfred M. Szmidt <ams@kemisten.nu>
roland [Sun, 17 Oct 2004 20:00:25 +0000 (20:00 +0000)]
2004-10-16  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/mach/hurd/Makefile (link-libc-static): Use
`$(static-gnulib') instead of `$(gnulib)'.

16 years agoUpdate.
drepper [Sun, 17 Oct 2004 15:00:17 +0000 (15:00 +0000)]
Update.

16 years agoAvoid including rcsid into binary.
drepper [Sun, 17 Oct 2004 14:59:39 +0000 (14:59 +0000)]
Avoid including rcsid into binary.

16 years agoUpdate.
drepper [Fri, 15 Oct 2004 21:31:29 +0000 (21:31 +0000)]
Update.

16 years ago(syscall): Handle 6 argument syscalls.
drepper [Fri, 15 Oct 2004 21:30:57 +0000 (21:30 +0000)]
(syscall): Handle 6 argument syscalls.

16 years ago(PUSHARGS_6, DOARGS_6, POPARGS_6, _PUSHARGS_6, _DOARGS_6, _POPARGS_6):
drepper [Fri, 15 Oct 2004 21:30:34 +0000 (21:30 +0000)]
(PUSHARGS_6, DOARGS_6, POPARGS_6, _PUSHARGS_6, _DOARGS_6, _POPARGS_6):
Define.

16 years agoUpdate.
drepper [Fri, 15 Oct 2004 21:20:11 +0000 (21:20 +0000)]
Update.

16 years agoCreate /var/db/nscd if necessary.
drepper [Fri, 15 Oct 2004 21:19:26 +0000 (21:19 +0000)]
Create /var/db/nscd if necessary.

16 years ago(_PATH_NSCD_PASSWD_DB): Move to /var/db.
drepper [Fri, 15 Oct 2004 21:13:19 +0000 (21:13 +0000)]
(_PATH_NSCD_PASSWD_DB): Move to /var/db.
(_PATH_NSCD_GROUP_DB): Likewise.
(_PATH_NSCD_HOSTS_DB): Likewise.
(_PATH_NSCD_XYZ_DB_TMP): New #define, point to /var/run.

16 years ago(nscd_init): Non-persistent database files are created with the
drepper [Fri, 15 Oct 2004 21:12:15 +0000 (21:12 +0000)]
(nscd_init): Non-persistent database files are created with the
_PATH_NSCD_XYZ_DB_TMP path.

16 years ago * sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
rth [Fri, 15 Oct 2004 09:34:43 +0000 (09:34 +0000)]
    * sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
        * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add
        _code argument, pass sigcontext by pointer.
        (SIGCONTEXT_EXTRA_ARGS): Likewise.
        (GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.

16 years ago * sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to
rth [Fri, 15 Oct 2004 07:07:56 +0000 (07:07 +0000)]
    * sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to
        make gcc4 happy.

16 years ago * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
rth [Fri, 15 Oct 2004 07:06:49 +0000 (07:06 +0000)]
    * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
        style definition.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If
        __ASSUME_TIMEVAL64, define __adjtime directly rather than
        via strong_alias.

16 years ago * sysdeps/alpha/dl-machine.h (elf_machine_rela,
rth [Fri, 15 Oct 2004 07:06:11 +0000 (07:06 +0000)]
    * sysdeps/alpha/dl-machine.h (elf_machine_rela,
        elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
        instead of static.

16 years agoUpdate.
drepper [Thu, 14 Oct 2004 20:55:58 +0000 (20:55 +0000)]
Update.

16 years agoWhen using compilers without -fpie support, also link with -lselinux
drepper [Thu, 14 Oct 2004 20:54:27 +0000 (20:54 +0000)]
When using compilers without -fpie support, also link with -lselinux
if necessary.

16 years agoUpdate.
drepper [Thu, 14 Oct 2004 16:18:09 +0000 (16:18 +0000)]
Update.

16 years ago(nscd_init): Remove file if not persistent and not shared.
drepper [Thu, 14 Oct 2004 16:17:01 +0000 (16:17 +0000)]
(nscd_init): Remove file if not persistent and not shared.

16 years ago(__errno_location): If RTLD_PRIVATE_ERRNO, add attribute_hidden.
drepper [Thu, 14 Oct 2004 16:13:44 +0000 (16:13 +0000)]
(__errno_location): If RTLD_PRIVATE_ERRNO, add attribute_hidden.

16 years agoDon't undef #errno if RTLD_PRIVATE_ERRNO.
drepper [Thu, 14 Oct 2004 16:13:17 +0000 (16:13 +0000)]
Don't undef #errno if RTLD_PRIVATE_ERRNO.

16 years ago(__signbitf, __signbit, __signbitl, sqrtf, sqrt, sqrtl, fdim, fdimf):
drepper [Thu, 14 Oct 2004 16:12:48 +0000 (16:12 +0000)]
(__signbitf, __signbit, __signbitl, sqrtf, sqrt, sqrtl, fdim, fdimf):
Use __NTH macro.

16 years agoHandle defined __NR_setresgid32 && !defined __NR_setresgid.
drepper [Thu, 14 Oct 2004 16:12:03 +0000 (16:12 +0000)]
Handle defined __NR_setresgid32 && !defined __NR_setresgid.

16 years agoHandle defined __NR_setresuid32 && !defined __NR_setresuid.
drepper [Thu, 14 Oct 2004 16:11:29 +0000 (16:11 +0000)]
Handle defined __NR_setresuid32 && !defined __NR_setresuid.

16 years agoUpdate.
drepper [Thu, 14 Oct 2004 16:10:58 +0000 (16:10 +0000)]
Update.

16 years agoDon't undef #errno if RTLD_PRIVATE_ERRNO.
drepper [Thu, 14 Oct 2004 16:10:11 +0000 (16:10 +0000)]
Don't undef #errno if RTLD_PRIVATE_ERRNO.

16 years ago(elf_machine_runtime_link_map): Replace iteration over GL(dl_loaded)
drepper [Thu, 14 Oct 2004 16:08:53 +0000 (16:08 +0000)]
(elf_machine_runtime_link_map): Replace iteration over GL(dl_loaded)
chain with iteration over all namespaces' _ns_loaded chains.

16 years ago(__elf_preferred_address): Replace iteration over GL(dl_loaded)
drepper [Thu, 14 Oct 2004 16:08:14 +0000 (16:08 +0000)]
(__elf_preferred_address): Replace iteration over GL(dl_loaded)
chain with iteration over all namespaces' _ns_loaded chains.

16 years ago(dlinfo_doit): Replace iteration over GL(dl_loaded) chain with iteration
drepper [Thu, 14 Oct 2004 16:07:37 +0000 (16:07 +0000)]
(dlinfo_doit): Replace iteration over GL(dl_loaded) chain with iteration
over all namespaces' _ns_loaded chains.

16 years agoUpdate.
drepper [Thu, 14 Oct 2004 09:24:14 +0000 (09:24 +0000)]
Update.

16 years ago(_dl_start): Fix one last dl_loaded.
drepper [Thu, 14 Oct 2004 09:23:31 +0000 (09:23 +0000)]
(_dl_start): Fix one last dl_loaded.

16 years ago(_dl_map_object_from_fd): Avoid definition of label when it is not needed.
drepper [Thu, 14 Oct 2004 09:22:13 +0000 (09:22 +0000)]
(_dl_map_object_from_fd): Avoid definition of label when it is not needed.

16 years ago(_dl_close): Typo: & -> &&.
drepper [Thu, 14 Oct 2004 09:20:57 +0000 (09:20 +0000)]
(_dl_close): Typo: & -> &&.

16 years agoUpdate. fedora-glibc-20041014T0548
drepper [Thu, 14 Oct 2004 02:24:44 +0000 (02:24 +0000)]
Update.

16 years ago(GET_PC): Return sc_ip field.
drepper [Thu, 14 Oct 2004 02:24:05 +0000 (02:24 +0000)]
(GET_PC): Return sc_ip field.

16 years agoRegister content dump functions.
drepper [Thu, 14 Oct 2004 02:23:35 +0000 (02:23 +0000)]
Register content dump functions.

16 years agoFix comment.
drepper [Thu, 14 Oct 2004 02:22:38 +0000 (02:22 +0000)]
Fix comment.

16 years agoInclude alloca.h and stdint.h.
drepper [Thu, 14 Oct 2004 02:22:13 +0000 (02:22 +0000)]
Include alloca.h and stdint.h.
Don't include frame.h.
(CURRENT_STACK_FRAME, INNER_THAN, ADVANCE_STACK_FRAME): Remove.
(catch_segfault): Use backtrace function.

16 years agoUpdate.
drepper [Thu, 14 Oct 2004 02:08:23 +0000 (02:08 +0000)]
Update.

16 years agoAdjust for removal of GL(dl_loaded).
drepper [Thu, 14 Oct 2004 02:07:44 +0000 (02:07 +0000)]
Adjust for removal of GL(dl_loaded).
Improve reference counting by tracking direct loads.

16 years agoAdjust for removal of GL(dl_loaded).
drepper [Thu, 14 Oct 2004 02:06:51 +0000 (02:06 +0000)]
Adjust for removal of GL(dl_loaded).

16 years agoReplace global _dl_loaded etc variables with _dl_ns variable.
drepper [Thu, 14 Oct 2004 02:06:18 +0000 (02:06 +0000)]
Replace global _dl_loaded etc variables with _dl_ns variable.

16 years ago(_dl_open): Take new parameter.
drepper [Thu, 14 Oct 2004 02:05:42 +0000 (02:05 +0000)]
(_dl_open): Take new parameter.
Adjust for removal of GL(dl_loaded).

Improve reference counting by tracking direct loads.

16 years agoTake new parameter. Use it to initialize l_ns.
drepper [Thu, 14 Oct 2004 02:05:07 +0000 (02:05 +0000)]
Take new parameter.  Use it to initialize l_ns.
Adjust for removal of GL(dl_loaded).

16 years agoAdjust for removal of GL(dl_loaded).
drepper [Thu, 14 Oct 2004 02:04:37 +0000 (02:04 +0000)]
Adjust for removal of GL(dl_loaded).

Improve reference counting by tracking direct loads.

16 years agoInclude <string.h>.
drepper [Thu, 14 Oct 2004 02:03:57 +0000 (02:03 +0000)]
Include <string.h>.

16 years ago(_dl_map_object_from_fd): Don't load ld.so a second
drepper [Thu, 14 Oct 2004 02:03:20 +0000 (02:03 +0000)]
(_dl_map_object_from_fd): Don't load ld.so a second
time.  Reuse the one from the main namespace in all others.
Pass new parameter to _dl_new_object.
Adjust for removal of GL(dl_loaded).

16 years agoPass new parameter to _dl_open. Adjust for removal of GL(dl_loaded).
drepper [Thu, 14 Oct 2004 02:02:33 +0000 (02:02 +0000)]
Pass new parameter to _dl_open.  Adjust for removal of GL(dl_loaded).

16 years agoCompute total nloaded. Adjust for removal of GL(dl_loaded).
drepper [Thu, 14 Oct 2004 02:02:06 +0000 (02:02 +0000)]
Compute total nloaded.  Adjust for removal of GL(dl_loaded).

16 years agoCall destructors in all namespaces.
drepper [Thu, 14 Oct 2004 02:01:39 +0000 (02:01 +0000)]
Call destructors in all namespaces.

16 years agoAdjust for removal of GL(dl_loaded).
drepper [Thu, 14 Oct 2004 02:01:14 +0000 (02:01 +0000)]
Adjust for removal of GL(dl_loaded).

Add new parameter to _dl_map_object.

16 years agoAdjust for removal of GL(dl_loaded).
drepper [Thu, 14 Oct 2004 02:00:27 +0000 (02:00 +0000)]
Adjust for removal of GL(dl_loaded).

Improve reference counting by tracking direct loads.

Count down l_opencount to check not only for l_reldeps, but also l_initfini.

16 years agoAdd rules to build and run tst-dlmopen1 and tst-dlmopen2.
drepper [Thu, 14 Oct 2004 01:59:45 +0000 (01:59 +0000)]
Add rules to build and run tst-dlmopen1 and tst-dlmopen2.

16 years agoTest of dlmopen.
drepper [Thu, 14 Oct 2004 01:59:13 +0000 (01:59 +0000)]
Test of dlmopen.

16 years agoTest of dlmopen.
drepper [Thu, 14 Oct 2004 01:58:54 +0000 (01:58 +0000)]
Test of dlmopen.

16 years agoAdd l_real, l_ns, and l_direct_opencount elements.
drepper [Thu, 14 Oct 2004 01:57:54 +0000 (01:57 +0000)]
Add l_real, l_ns, and l_direct_opencount elements.

16 years agoAdjust prototype of _dl_open.
drepper [Thu, 14 Oct 2004 01:57:25 +0000 (01:57 +0000)]
Adjust prototype of _dl_open.
Define __LM_ID_CALLER.

16 years agoInclude <dlfcn.h>.
drepper [Thu, 14 Oct 2004 01:56:52 +0000 (01:56 +0000)]
Include <dlfcn.h>.

16 years ago(ptmalloc_init): If libc is not in primary namespace, never use brk.
drepper [Thu, 14 Oct 2004 01:55:55 +0000 (01:55 +0000)]
(ptmalloc_init): If libc is not in primary namespace, never use brk.

16 years agoBump TLS_STATIC_SURPLUS. Since libc is using TLS we need memory
drepper [Thu, 14 Oct 2004 01:55:20 +0000 (01:55 +0000)]
Bump TLS_STATIC_SURPLUS.  Since libc is using TLS we need memory
appropriate to the number of namespaces.

16 years ago(struct rtld_global): Replace _dl_loaded, _dl_nloaded,
drepper [Thu, 14 Oct 2004 01:54:41 +0000 (01:54 +0000)]
(struct rtld_global): Replace _dl_loaded, _dl_nloaded,
_dl_global_scope, _dl_main_searchlist, and _dl_global_scope_alloc with
_dl_ns element.  Define DL_NNS.

16 years agoAdjust for removal of GL(dl_loaded).
drepper [Thu, 14 Oct 2004 01:53:55 +0000 (01:53 +0000)]
Adjust for removal of GL(dl_loaded).

16 years agoPass new parameter to _dl_open.
drepper [Thu, 14 Oct 2004 01:48:54 +0000 (01:48 +0000)]
Pass new parameter to _dl_open.

16 years agoHandle RTLD_DI_LMID.
drepper [Thu, 14 Oct 2004 01:48:22 +0000 (01:48 +0000)]
Handle RTLD_DI_LMID.

16 years agoDefine Lmid_t, LM_ID_BASE, and LM_ID_NEWLM.
drepper [Thu, 14 Oct 2004 01:47:53 +0000 (01:47 +0000)]
Define Lmid_t, LM_ID_BASE, and LM_ID_NEWLM.
Declare dlmopen.  Document RTLD_DI_LMID.

16 years ago[libdl, GLIBC_2.3.4]: Add dlmopen.
drepper [Thu, 14 Oct 2004 01:47:20 +0000 (01:47 +0000)]
[libdl, GLIBC_2.3.4]: Add dlmopen.

16 years ago(libdl-routines): Add dlmopen.
drepper [Thu, 14 Oct 2004 01:46:57 +0000 (01:46 +0000)]
(libdl-routines): Add dlmopen.

16 years agodlmopen implementation.
drepper [Thu, 14 Oct 2004 01:46:27 +0000 (01:46 +0000)]
dlmopen implementation.

16 years agoUpdate.
drepper [Wed, 13 Oct 2004 19:27:57 +0000 (19:27 +0000)]
Update.

16 years ago(_dl_close): Update bug reporting instructions.
drepper [Wed, 13 Oct 2004 19:27:16 +0000 (19:27 +0000)]
(_dl_close): Update bug reporting instructions.

16 years agoUpdate. fedora-glibc-20041012T1128
drepper [Tue, 12 Oct 2004 06:19:23 +0000 (06:19 +0000)]
Update.

16 years agoUpdate from tzcode2004e.
drepper [Tue, 12 Oct 2004 06:18:57 +0000 (06:18 +0000)]
Update from tzcode2004e.

16 years agoUpdate from tzdata2004e.
drepper [Tue, 12 Oct 2004 06:18:16 +0000 (06:18 +0000)]
Update from tzdata2004e.

16 years agoUpdate.
drepper [Tue, 12 Oct 2004 03:14:39 +0000 (03:14 +0000)]
Update.

16 years agoUpdate.
drepper [Mon, 11 Oct 2004 22:28:15 +0000 (22:28 +0000)]
Update.