Ulrich Drepper [Sat, 26 Apr 2003 17:08:49 +0000 (17:08 +0000)]
(__pthread_initialize_manager): Remove one last p_multiple_threads call.
Jakub Jelinek [Sat, 26 Apr 2003 09:24:41 +0000 (09:24 +0000)]
Fix.
Ulrich Drepper [Sat, 26 Apr 2003 04:15:50 +0000 (04:15 +0000)]
Update.
* nscd/cache.c (cache_search): Keep track of how many chain links
we searched and update table statistics.
(cache_add): Keep track of how many values are in the table.
(prune_cache): Likewise. Keep track of locking success.
Print messages about removed entries in separate pass.
* nscd/connections.c (handle_request): Don't print debug message here.
The caller will do it. Keep track of locking success.
(nscd_run): Print debug message. Also print PID of the client process.
* nscd/nscd.c (start_time): New variable.
(main): Remember start time.
* nscd/nscd.h: Declare start_time.
(struct database): Add more members for new statistics.
* nscd/nscd_stat.c: Add support for sending, receiving, and printing
of new statistics.
Ulrich Drepper [Fri, 25 Apr 2003 22:28:13 +0000 (22:28 +0000)]
Update.
* pthread.c (__pthread_initialize_manager): Subtract
TLS_PRE_TCB_SIZE bytes from tcbp to get to descr.
* manager.c (pthread_handle_create): Subtract or add TLS_PRE_TCB_SIZE
instead of sizeof (pthread_descr).
(pthread_free): Add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr).
* sysdeps/powerpc/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Define to 0.
Ulrich Drepper [Fri, 25 Apr 2003 17:54:19 +0000 (17:54 +0000)]
Update.
2003-04-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c: Include <stdbool.h>.
Ulrich Drepper [Fri, 25 Apr 2003 09:12:43 +0000 (09:12 +0000)]
Update.
2003-04-22 Jakub Jelinek <jakub@redhat.com>
* include/link.h (NO_TLS_OFFSET): Define to 0 if not defined.
* elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET.
* elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to
NO_TLS_OFFSET.
* elf/rtld.c (_dl_start_final, _dl_start): Likewise.
* elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise.
* sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract
TLS_TCB_SIZE.
Ulrich Drepper [Fri, 25 Apr 2003 00:46:36 +0000 (00:46 +0000)]
Update.
* nss/getent.c: Implement alternative host database lookup via
getaddrinfo.
unbinding it.
Ulrich Drepper [Thu, 24 Apr 2003 23:45:17 +0000 (23:45 +0000)]
Update.
2003-04-24 Ulrich Drepper <drepper@redhat.com>
* include/ifaddrs.h: New file.
* include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and
AI_ADDRCONFIG...
* resolv/netdb.h: ...here.
* sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate.
* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and
AI_ADDRCONFIG.
Ulrich Drepper [Thu, 24 Apr 2003 23:38:24 +0000 (23:38 +0000)]
Internal shadow header for <ifaddrs.h>.
Roland McGrath [Thu, 24 Apr 2003 17:18:42 +0000 (17:18 +0000)]
* elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function.
* nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be !=
Roland McGrath [Thu, 24 Apr 2003 17:11:08 +0000 (17:11 +0000)]
* elf/dl-reloc.c (allocate_static_tls): Rename to...
(_dl_allocate_static_tls): ... this function. No longer static.
(CHECK_STATIC_TLS): Adjust.
* sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype.
* sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela):
Add SYM_MAP argument.
(elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally.
Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit
TLS relocs here. #ifdef out relocs which never appear in
.gnu.conflict section from dl-conflict.c processing.
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
Add SYM_MAP argument. Handle 16-bit TLS relocs here.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef
out relocs which never appear in .gnu.conflict section from
dl-conflict.c processing.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
Use r_type in RESOLVE macro.
Roland McGrath [Thu, 24 Apr 2003 17:10:52 +0000 (17:10 +0000)]
2003-04-24 Jakub Jelinek <jakub@redhat.com>
* elf/dl-reloc.c (allocate_static_tls): Rename to...
(_dl_allocate_static_tls): ... this function. No longer static.
(CHECK_STATIC_TLS): Adjust.
* sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype.
* sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela):
Add SYM_MAP argument.
(elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally.
Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit
TLS relocs here. #ifdef out relocs which never appear in
.gnu.conflict section from dl-conflict.c processing.
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
Add SYM_MAP argument. Handle 16-bit TLS relocs here.
Ulrich Drepper [Wed, 23 Apr 2003 22:18:09 +0000 (22:18 +0000)]
Update.
* nis/ypclnt.c (__yp_bind): Expect ypdb parameter to always we !=
NULL. Remove code made redundant by this assumption.
(__yp_unbind): Add call to free. Adjust all callers.
Ulrich Drepper [Wed, 23 Apr 2003 22:06:25 +0000 (22:06 +0000)]
Update.
* nis/ypclnt.c (yp_all): Free the dom_binding object after
unwinding it.
Ulrich Drepper [Wed, 23 Apr 2003 21:27:36 +0000 (21:27 +0000)]
Update.
2003-04-23 Ulrich Drepper <drepper@redhat.com>
* grp/initgroups.c (getgrouplist): Don't copy too much into the
user buffer if more groups are found than fit into it.
* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use
extend_alloca.
Ulrich Drepper [Wed, 23 Apr 2003 17:21:02 +0000 (17:21 +0000)]
Update.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE,
not rc == errno. Use extend_alloca.
Ulrich Drepper [Wed, 23 Apr 2003 17:19:51 +0000 (17:19 +0000)]
(gaih_inet): Check for rc == ERANGE, not rc == errno. Use extend_alloca.
Roland McGrath [Wed, 23 Apr 2003 06:09:13 +0000 (06:09 +0000)]
* Makeconfig (shared-thread-library): Reverse link order to work
around linker bug.
Roland McGrath [Wed, 23 Apr 2003 01:54:52 +0000 (01:54 +0000)]
* elf/tst-tls12.c (main): Fix declaration.
* elf/tst-tls10.c (dummy): Make hidden instead of static.
* elf/tst-tlsmod7.c (dummy): Likewise.
* elf/tst-tlsmod8.c (dummy): Likewise.
* elf/tst-tlsmod9.c (dummy): Likewise.
2003-04-22 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args.
(open_not_cancel): Make last argument non-optional.
* sysdeps/generic/check_fds.c (check_one_fd): Update caller.
* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
* iconv/gconv_cache.c (__gconv_load_cache): Likewise.
* include/tls.h: Protect against multiple inclusion.
Roland McGrath [Wed, 23 Apr 2003 01:54:03 +0000 (01:54 +0000)]
2003-04-22 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args.
(open_not_cancel): Make last argument non-optional.
* sysdeps/generic/check_fds.c (check_one_fd): Update caller.
* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
* iconv/gconv_cache.c (__gconv_load_cache): Likewise.
Ulrich Drepper [Tue, 22 Apr 2003 19:52:59 +0000 (19:52 +0000)]
Update.
2003-04-22 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd-client.h: Add declaration for __nscd_open_socket.
* nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from
open_socket. Not static anymore.
(nscd_gethst_r): Use __nscd_open_socket.
* nscd/nscd_getgr_r.c (open_socket): Removed.
(nscd_getgr_r): Use __nscd_open_socket.
* nscd/nscd_getpw_r.c (open_socket): Removed.
(nscd_getpw_r): Use __nscd_open_socket.
* nscd/nscd.c (main): Change type of fdn to long int and use strtol.
* nscd/connections.c (handle_request): Add cast to avoid warning.
Ulrich Drepper [Tue, 22 Apr 2003 17:15:35 +0000 (17:15 +0000)]
Update.
2003-04-22 Ulrich Drepper <drepper@redhat.com>
* semaphore.h: Fix typo in comment.
Ulrich Drepper [Tue, 22 Apr 2003 02:26:01 +0000 (02:26 +0000)]
Update.
2003-04-21 Ulrich Drepper <drepper@redhat.com>
* locales/ar_BH: Fix spelling of Bahrain.
* locales/uk_UA: Fix sorting.
Patch by Leonid Kanter <leon@geon.donetsk.ua>.
Ulrich Drepper [Mon, 21 Apr 2003 07:48:10 +0000 (07:48 +0000)]
Update.
* signal/sigfillset.c: Moved to...
* sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined
do not set the corresponding bit.
Ulrich Drepper [Mon, 21 Apr 2003 07:39:20 +0000 (07:39 +0000)]
Update.
2003-04-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for
SIGCANCEL.
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL.
first syscall parameter to const char*.
Ulrich Drepper [Sun, 20 Apr 2003 20:55:53 +0000 (20:55 +0000)]
Update.
* sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast
first syscall parameter to cnst char*.
Ulrich Drepper [Sun, 20 Apr 2003 19:14:58 +0000 (19:14 +0000)]
Update.
2003-04-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/check_fds.c (check_one_fd): Cast first parameter
of open_not_cancel explicitly to const char*.
Ulrich Drepper [Sun, 20 Apr 2003 08:25:06 +0000 (08:25 +0000)]
Update.
* sysdeps/i386/useldt.h (DO_SET_THREAD_AREA): Make sure the
compiler knows we use the ldt_entry variable and that the syscall
modifies the memory.
Ulrich Drepper [Sun, 20 Apr 2003 07:39:20 +0000 (07:39 +0000)]
Update.
2003-04-20 Ulrich Drepper <drepper@redhat.com>
* internals.h: Split pthread_functions definition into...
* sysdeps/pthread/pthread-functions.h: ...new file.
* sysdeps/i386/useldt.h: Include <sysdep.h>.
Ulrich Drepper [Sun, 20 Apr 2003 06:32:14 +0000 (06:32 +0000)]
Update.
* intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run.
Ulrich Drepper [Sat, 19 Apr 2003 20:15:36 +0000 (20:15 +0000)]
Update.
* configure.in: Add AC_PROG_CXX.
* config.make.in (CXX): Define.
Ulrich Drepper [Sat, 19 Apr 2003 19:19:11 +0000 (19:19 +0000)]
Update.
2003-04-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of
__len to size_t to avoid warnings.
Ulrich Drepper [Sat, 19 Apr 2003 18:32:56 +0000 (18:32 +0000)]
Update.
2003-04-18 Jes Sorensen <jes@wildopensource.com>
* libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux
2.5.67.
* libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
Ulrich Drepper [Sat, 19 Apr 2003 18:26:10 +0000 (18:26 +0000)]
Update.
* stdlib/cxa_finalize.c (__cxa_finalize): Don't call
UNREGISTER_ATFORK if d == NULL.
Ulrich Drepper [Sat, 19 Apr 2003 16:57:17 +0000 (16:57 +0000)]
Update.
2003-04-19 Ulrich Drepper <drepper@redhat.com>
* catgets/nl_types.h: Remove __THROW marker from cancellation points.
* dirent/dirent.h: Likewise.
* dlfcn/dlfcn.h: Likewise.
* grp/grp.h: Likewise.
* iconv/iconv.h: Likewise.
* io/fcntl.h: Likewise.
* io/ftw.h: Likewise.
* libio/stdio.h: Likewise.
* misc/sys/mman.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/syslog.h: Likewise.
* misc/sys/uio.h: Likewise.
* posix/spawn.h: Likewise.
* posix/unistd.h: Likewise.
* posix/sys/wait.h: Likewise.
* pwd/pwd.h: Likewise.
* resolv/netdb.h: Likewise.
* rt/aio.h: Likewise.
* shadow/shadow.h: Likewise.
* signal/signal.h: Likewise.
* socket/sys/socket.h: Likewise.
* stdlib/stdlib.h: Likewise.
* streams/stropts.h: Likewise.
* string/string.h: Likewise.
* sysdeps/gnu/utmpx.h: Likewise.
* sysvipc/sys/msg.h: Likewise.
* termios/termios.h: Likewise.
* time/time.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable
functions.
* misc/daemon.c: Likewise.
* sysdeps/generic/backtracesymsfd.c: Likewise.
* sysdeps/generic/check_fds.c: Likewise.
* sysdeps/unix/sysv/linux/gethostid.c: Likewise.
* sysdeps/unix/sysv/linux/not-cancel.h: New file.
* sysdeps/generic/not-cancel.h: New file.
* csu/Makefile (distribute): Add not-cancel.h.
* sysdeps/unix/sysv/linux/fatal-prepare.h: New file.
* sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE
for assert.c and assert-perr.c to include <fatal-prepare.h>.
* sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h.
* sysdeps/posix/remove.c (remove): Rewrite. No need to restore
errno and unlink first.
* io/ftw.c (ftw_dir): In all places assume fchdir is available.
2003-04-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use
INTERNAL_SYSCALL instead of INLINE_SYSCALL.
Ulrich Drepper [Fri, 18 Apr 2003 08:08:11 +0000 (08:08 +0000)]
Update.
* sysdeps/pthread/pthread.h: Don't mark pthread_testcancel,
pthread_cancel, pthread_setcancelstate, and pthread_setcanceltype with
Ulrich Drepper [Fri, 18 Apr 2003 08:01:53 +0000 (08:01 +0000)]
Update.
2003-04-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h: Don't mark pthread_testcancel with
__THROW.
Ulrich Drepper [Fri, 18 Apr 2003 00:36:59 +0000 (00:36 +0000)]
Update.
* sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling.
* malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not
replace.
Ulrich Drepper [Thu, 17 Apr 2003 23:30:20 +0000 (23:30 +0000)]
Update.
2003-04-17 Ulrich Drepper <drepper@redhat.com>
* signal/Makefile (tests): Add tst-sigsimple.
* signal/tst-sigsimple.c: New file.
Ulrich Drepper [Thu, 17 Apr 2003 19:19:29 +0000 (19:19 +0000)]
Update.
2003-04-16 Jakub Jelinek <jakub@redhat.com>
* elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and
tst-tls10.h.
(tests): Add tst-tls1[0-2].
(modules-names): Add tst-tlsmod{[7-8],1[0-2]}.
($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so.
($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so.
($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so.
($(objpfx)tst-tls10): Depend on tst-tlsmod8.so.
($(objpfx)tst-tls11): Depend on tst-tlsmod10.so.
($(objpfx)tst-tls12): Depend on tst-tlsmod12.so.
* elf/tst-tls10.c: New test.
* elf/tst-tls11.c: New test.
* elf/tst-tls12.c: New test.
* elf/tst-tls10.h: New file.
* elf/tst-tlsmod7.c: New file.
* elf/tst-tlsmod8.c: New file.
* elf/tst-tlsmod9.c: New file.
* elf/tst-tlsmod10.c: New file.
* elf/tst-tlsmod11.c: New file.
* elf/tst-tlsmod12.c: New file.
2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ...
* sysdeps/powerpc/powerpc32/bits/atomic.h: New file.
* sysdeps/powerpc/powerpc64/bits/atomic.h: New file.
* posix/regex.h: Include <sys/types.h>.
Ulrich Drepper [Thu, 17 Apr 2003 18:39:26 +0000 (18:39 +0000)]
Update.
* signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset.
The signal number must be checked.
Ulrich Drepper [Thu, 17 Apr 2003 18:12:31 +0000 (18:12 +0000)]
Update.
* signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
The signal number must be checked [PR libc/5004].
Ulrich Drepper [Thu, 17 Apr 2003 17:38:38 +0000 (17:38 +0000)]
Update.
* string/test-memchr.c: Likewise.
* string/test-memcmp.c: Likewise.
* string/test-memcpy.c: Likewise.
* string/test-memmove.c: Likewise.
* string/test-memset.c: Likewise.
* string/test-strcat.c: Likewise.
* string/test-strchr.c: Likewise.
* string/test-strcmp.c: Likewise.
* string/test-strcpy.c: Likewise.
* string/test-strlen.c: Likewise.
* string/test-strncmp.c: Likewise.
* string/test-strpbrk.c: Likewise.
* string/test-strrchr.c: Likewise.
* string/test-strspn.c: Likewise.
Ulrich Drepper [Thu, 17 Apr 2003 16:34:08 +0000 (16:34 +0000)]
Update.
* sysdeps/unix/sysv/linux/system.c: If compiled without threads
don't do anything fancy.
* sysdeps/generic/bits/libc-lock.h: Define
__rtld_lock_define_initialized_recursive.
Ulrich Drepper [Thu, 17 Apr 2003 08:42:06 +0000 (08:42 +0000)]
Update.
2003-04-17 Ulrich Drepper <drepper@redhat.com>
* nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry
contacting nscd if NOT_USENSCD_NAME > 0.
* nss/nsswitch.c (__nss_disable_nscd): New function.
* nss/nsswitch.h: Declare it.
* nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd.
* nscd/nscd.c (main): Call __nss_disable_nscd.
Ulrich Drepper [Thu, 17 Apr 2003 05:44:31 +0000 (05:44 +0000)]
Update.
2003-04-16 Ulrich Drepper <drepper@redhat.com>
* uk_UA: Fix sorting. Patch by Leonid Kanter <leon@geon.donetsk.ua>.
Ulrich Drepper [Thu, 17 Apr 2003 04:01:04 +0000 (04:01 +0000)]
Update.
* stdio-common/perror.c (perror): We don't need to set the offset
to _IO_pos_bad, this is how streams are initialized.
Ulrich Drepper [Thu, 17 Apr 2003 02:55:45 +0000 (02:55 +0000)]
Update.
* locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned.
(time_output): If necessary, allocate new buffer for .name string if
padding is required.
Ulrich Drepper [Thu, 17 Apr 2003 01:08:57 +0000 (01:08 +0000)]
Update.
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths
before copying. This might leave holes in the list. Adjust
pointers if necessary.
(netlink_receive): Allocate only one block.
(free_netlink_handle): Adjust appropriately.
(getifaddrs): Lots of cleanups.
Ulrich Drepper [Wed, 16 Apr 2003 22:50:37 +0000 (22:50 +0000)]
(netlink_receive): Allocate only one block. (free_netlink_handle): Adjust appropriately. (getifaddrs): Lots of cleanups.
Jakub Jelinek [Wed, 16 Apr 2003 21:59:43 +0000 (21:59 +0000)]
* tst-cancel4.c (do_test): Use %zd instead of %d when printing cnt.
Jakub Jelinek [Wed, 16 Apr 2003 21:59:32 +0000 (21:59 +0000)]
(do_test): Use %zd instead of %d when printing cnt.
Ulrich Drepper [Wed, 16 Apr 2003 17:22:45 +0000 (17:22 +0000)]
Update.
* string/test-strncpy.c (do_one_test): Mark start and stop as
Ulrich Drepper [Wed, 16 Apr 2003 17:15:30 +0000 (17:15 +0000)]
Update.
2003-04-16 Ulrich Drepper <drepper@redhat.com>
* string/test-strncpy.c (do_one_test): Makr start and stop as
possibly unused.
Ulrich Drepper [Wed, 16 Apr 2003 17:10:51 +0000 (17:10 +0000)]
(do_one_test): Makr start and stop as possibly unused.
Roland McGrath [Wed, 16 Apr 2003 03:12:34 +0000 (03:12 +0000)]
* libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
INTUSE(__register_frame_info_bases).
Roland McGrath [Wed, 16 Apr 2003 03:06:31 +0000 (03:06 +0000)]
2003-04-15 Roland McGrath <roland@redhat.com>
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
INTUSE(__register_frame_info_bases).
Ulrich Drepper [Tue, 15 Apr 2003 23:56:32 +0000 (23:56 +0000)]
Update.
AT_SYSINFO_EH_FRAME. Adjust string width.
Ulrich Drepper [Tue, 15 Apr 2003 22:46:40 +0000 (22:46 +0000)]
Update.
2003-04-15 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Define AT_SYSINFO_EH_FRAME.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle
AT_SYSINFO_EH_FRAME.
(_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value.
* sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global):
Add _dl_sysinfo_eh_frame field.
* elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame.
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj
variable.
[NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases
if _dl_sysinfo_eh_frame is non-NULL.
* Makeconfig (gnulib): Add -lgcc_eh.
* config.h.in: Define HAVE_FORCED_UNWIND.
Ulrich Drepper [Tue, 15 Apr 2003 19:45:39 +0000 (19:45 +0000)]
Update.
2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit.
* sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
Ulrich Drepper [Tue, 15 Apr 2003 19:42:49 +0000 (19:42 +0000)]
Update.
2003-04-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid
checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is
against local symbol in conflict processing.
Ulrich Drepper [Tue, 15 Apr 2003 18:39:09 +0000 (18:39 +0000)]
Update.
2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h
[__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define.
[! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined
as abort stub.
(__arch_compare_and_exchange_val_32_acq): Define.
(atomic_compare_and_exchange_val_acq): Define.
Ulrich Drepper [Tue, 15 Apr 2003 18:29:40 +0000 (18:29 +0000)]
Update.
2003-04-15 Ulrich Drepper <drepper@redhat.com>
* include/atomic.h: Pretty printing.
Ulrich Drepper [Tue, 15 Apr 2003 07:10:39 +0000 (07:10 +0000)]
Fix typo.
Confirmed LC_PAPER and LC_MEASUREMENT settings.
Ulrich Drepper [Tue, 15 Apr 2003 04:40:00 +0000 (04:40 +0000)]
Update.
2003-04-05 Petter Reinholdtsen <pere@hungry.com>
* locales/sr_YU [LC_MONETARY]: Change int_curr_symbol from 'YUN'
to 'YUM' to match changes commited to ISO-4217 2002-02-13 and get
the locale building again.
* locales/sr_YU@cyrillic: Likewise.
Ulrich Drepper [Tue, 15 Apr 2003 02:36:10 +0000 (02:36 +0000)]
Update.
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfscanf.c: Add casts to avoid warnings.
Ulrich Drepper [Mon, 14 Apr 2003 21:55:10 +0000 (21:55 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Don't
Ulrich Drepper [Mon, 14 Apr 2003 21:38:45 +0000 (21:38 +0000)]
Update.
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Don't
overflow CFA advance instructions.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
Ulrich Drepper [Mon, 14 Apr 2003 17:30:34 +0000 (17:30 +0000)]
Update.
2003-04-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX.
* sysdeps/x86_64/bits/atomic.h: Likewise.
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and
POPARGS_1 to emit labels for the mov instructions.
2003-04-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define.
Ulrich Drepper [Mon, 14 Apr 2003 16:43:20 +0000 (16:43 +0000)]
Update.
2003-04-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Use
DW_CFA_advance_loc2 for .Laddl-.Lsubl.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Use
DW_CFA_advance_loc for .Laddl-.Lsubl.
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Don't use
position-independent unwind data for static libraries.
Add missing unwind info. Add comments.
Ulrich Drepper [Mon, 14 Apr 2003 16:42:09 +0000 (16:42 +0000)]
Use DW_CFA_advance_loc2 for .Laddl-.Lsubl.
Roland McGrath [Mon, 14 Apr 2003 08:52:37 +0000 (08:52 +0000)]
* sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
compiler warning.
* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.
Roland McGrath [Mon, 14 Apr 2003 08:52:21 +0000 (08:52 +0000)]
2003-04-14 Roland McGrath <roland@redhat.com>
* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.
Ulrich Drepper [Mon, 14 Apr 2003 07:03:40 +0000 (07:03 +0000)]
Update.
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* string/strxfrm.c (STRXFRM): Terminate rulearr at correct
position. Reported by jreiser@BitWagon.com.
Ulrich Drepper [Mon, 14 Apr 2003 02:52:46 +0000 (02:52 +0000)]
Add missing unwind info. Add comments.
Roland McGrath [Sun, 13 Apr 2003 22:57:52 +0000 (22:57 +0000)]
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to
match changes in NPTL sysdep-cancel.h.
Roland McGrath [Sun, 13 Apr 2003 22:57:45 +0000 (22:57 +0000)]
2003-04-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to
match changes in NPTL sysdep-cancel.h.
Ulrich Drepper [Sun, 13 Apr 2003 16:47:36 +0000 (16:47 +0000)]
Update.
2003-04-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version.
* sysdeps/generic/unwind-dw2-fde.h: Likewise.
* sysdeps/generic/unwind-dw2.c: Likewise.
* sysdeps/generic/unwind-pe.h: Likewise.
Ulrich Drepper [Sun, 13 Apr 2003 16:45:10 +0000 (16:45 +0000)]
Update from recent gcc version.
Alexandre Oliva [Sun, 13 Apr 2003 11:36:32 +0000 (11:36 +0000)]
* sysdeps/unix/sysv/linux/mips/profil-counter: New. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64. (mcontext_t): Make it match the 32-bit mips kernel in o32. * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from the mips and mips64 headers. (struct user): Port to n32/n64.
2003-04-13 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/profil-counter: New.
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
(mcontext_t): Make it match the 32-bit mips kernel in o32.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
the mips and mips64 headers.
(struct user): Port to n32/n64.
Ulrich Drepper [Sun, 13 Apr 2003 08:36:19 +0000 (08:36 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Add unwind info.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
Ulrich Drepper [Sun, 13 Apr 2003 08:04:46 +0000 (08:04 +0000)]
Update.
2003-04-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Add
unwind info.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* Makefile: Make sure all cancellation points are compiled with
exception and asynchronous unwind tables.
Ulrich Drepper [Sun, 13 Apr 2003 02:05:36 +0000 (02:05 +0000)]
Update.
2003-04-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to
avoid warning.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If
__ASSUME_VSYSCALL is defined don't add restorer.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_VSYSCALL for 2.5.53.
Ulrich Drepper [Sat, 12 Apr 2003 20:32:01 +0000 (20:32 +0000)]
Update.
2003-04-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug
which mishandles loading of global object addresses in PIC.
(THREAD_SETMEM_NC): Likewise.
Ulrich Drepper [Sat, 12 Apr 2003 08:38:14 +0000 (08:38 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
Ulrich Drepper [Sat, 12 Apr 2003 00:58:26 +0000 (00:58 +0000)]
Update.
2003-04-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling.
Remove HAVE_CANCELBUF code. Replace with code using the new
initializers for unwind-based cleanup handling.
* sysdeps/generic/unwind.h: Update from latest gcc version.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few
places to allow unwind data generation.
* sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times.
* sysdeps/x86_64/bits/setjmp.h: Likewise.
* sysdeps/sh/bits/setjmp.h: Likewise.
* sysdeps/powerpc/bits/setjmp.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
* sysdeps/alpha/bits/setjmp.h: Likewise.
Ulrich Drepper [Sat, 12 Apr 2003 00:25:27 +0000 (00:25 +0000)]
(deallocate_tsd): Don't take parameter. Adjust caller. Optimize to avoid often unecessary local variable.
(start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.
Roland McGrath [Sat, 12 Apr 2003 00:17:14 +0000 (00:17 +0000)]
* csu/tst-empty.c: New file.
* csu/Makefile (tests, tests-static): Add it.
Roland McGrath [Sat, 12 Apr 2003 00:16:59 +0000 (00:16 +0000)]
2003-04-11 Roland McGrath <roland@redhat.com>
* csu/tst-empty.c: New file.
* csu/Makefile (tests, tests-static): Add it.
Ulrich Drepper [Sat, 12 Apr 2003 00:14:16 +0000 (00:14 +0000)]
Declare __pthread_unwind. Define __do_cancel to use it. Declare old cleanup handler installation functions.
Ulrich Drepper [Sat, 12 Apr 2003 00:06:31 +0000 (00:06 +0000)]
Test cleanup handler calls in initial thread.
Roland McGrath [Sat, 12 Apr 2003 00:00:30 +0000 (00:00 +0000)]
2003-04-11 Roland McGrath <roland@redhat.com>
* Makefile ($(objpfx)multidir.mk): New target, generated makefile that
sets variable `multidir'; include that.
(generated): Add it.
($(objpfx)$(multidir)/crti.o): New target.
[$(multidir) != .] (generated-dirs, extra-objs, omit-deps): Add it.
Roland McGrath [Fri, 11 Apr 2003 23:34:00 +0000 (23:34 +0000)]
2003-04-11 Roland McGrath <roland@redhat.com>
* Makefile (multidir): Don't set the variable here with $(shell ...).
($(objpfx)multidir.mk): New target, generated makefile; include that.
(generated): Append it.
2003-04-10 Jakub Jelinek <jakub@redhat.com>
* Makefile (multidir, crti-objs, crtn-objs): New variables.
(generated-dirs): Add pathname component of multidir.
(omit-deps, extra-objs): Include $(multidir)/crt? as well.
($(objpfx)libpthread.so): Depend on $(multidir)/crt?.o as well.
($(objpfx)$(multidir), $(objpfx)$(multidir)/crti.o,
$(objpfx)$(multidir)/crtn.o): New.
* sysdeps/unix/sysv/linux/sparc/Makefile: Removed.
* sysdeps/unix/sysv/linux/x86_64/Makefile (LDFLAGS-pthread.so,
before-compile, generated): Don't generate and use specs.
($(objpfx)specs): Remove.
Ulrich Drepper [Fri, 11 Apr 2003 23:00:57 +0000 (23:00 +0000)]
Update.
2003-04-11 Ulrich Drepper <drepper@redhat.com>
* tst-attr2.c (do_test): Add cast to avoid warning.
* tst-mutex4.c (do_test): Likewise.
Ulrich Drepper [Fri, 11 Apr 2003 22:59:18 +0000 (22:59 +0000)]
(do_test): Add cast to avoid warning.
Roland McGrath [Fri, 11 Apr 2003 22:11:44 +0000 (22:11 +0000)]
* string/test-strcmp.c (do_random_tests): Test whether return value
has been promoted to wordsize if the ABI requires caller to do so.
* string/test-strncmp.c (do_random_tests): Likewise.
* string/test-memcmp.c (do_random_tests): Likewise.
* sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN
before returning.
Roland McGrath [Fri, 11 Apr 2003 22:09:16 +0000 (22:09 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
(__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL
is not defined, but the prctl constants are.
Roland McGrath [Fri, 11 Apr 2003 22:07:03 +0000 (22:07 +0000)]
* string/tester.c (test_strcmp): Fix a typo.
Roland McGrath [Fri, 11 Apr 2003 22:06:02 +0000 (22:06 +0000)]
2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
Ulrich Drepper [Thu, 10 Apr 2003 16:46:27 +0000 (16:46 +0000)]
Update.
2003-04-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks
in child.