aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-01-05* sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.Andreas Schwab
2003-01-05* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (SINGLE_THREAD_P):Andreas Schwab
Fix for PIC. (CENABLE): Likewise. (CDISABLE): Likewise.
2003-01-05(SINGLE_THREAD_P): Fix for PIC. (CENABLE): Likewise. (CDISABLE): Likewise.Andreas Schwab
2003-01-05Update.Ulrich Drepper
2003-01-05 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use SYSCALL_ERROR_HANDLER. * sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise. * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise. Add support for cancellation handling. * sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use SYSCALL_ERROR_HANDLER. * sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise. Add support for cancellation handling. (SYSCALL_ERROR_HANDLER): Define PIC variants.
2003-01-05Update.Ulrich Drepper
2003-01-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark __syscall_pread64 and __syscall_pwrite64 cancelable. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INTERNAL_SYSCALL): New macro. (LOADARGS_0, LOADARGS_1): Fix. 2003-01-05 Ulrich Drepper <drepper@redhat.com> * Makerules (build-shlip-helper): Unless told otherwise, add -Wl,-z,defs to linker command line. * rt/Makefile (librt.so): Link with ld.so. * dlfcn/Makefile (libdl.so): Likewise.
2003-01-05Update.Ulrich Drepper
2003-01-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile: New file.
2003-01-05Update.Ulrich Drepper
2003-01-04 Jakub Jelinek <jakub@redhat.com> * internals.h (LIBC_THREAD_GETMEM, LIBC_THREAD_SETMEM): Define even if NOT_IN_libc is defined.
2003-01-05Update.Ulrich Drepper
2003-01-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Add support for cancellation handling. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise. 2003-01-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Correct order of parameters passed to kill. * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond fields.
2003-01-05Update.Ulrich Drepper
* Makefile (tests): Add tst-cancel7. (tst-cancel7-ARGS): New variable.
2003-01-05(cancel_handler): Correct order of parameters passed to kill.Ulrich Drepper
2003-01-04initializer syntax to C99.Andreas Schwab
2003-01-04* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecondAndreas Schwab
fields.
2003-01-04Add nanosecond fields.Andreas Schwab
2003-01-04Update.Ulrich Drepper
* sysdeps/posix/system.c (do_system): Minor optimizations. Remove unnecessary code. Correct reference counter in case SIGQUIT handler installation failed.
2003-01-04(do_system): Minor optimizations. Remove unnecessary code.Ulrich Drepper
2003-01-04* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result toRoland McGrath
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5 when compiling Bison 1.875's `bitset bset = obstack_alloc (bobstack, bytes);'. Problem reported by Nelson H. F. Beebe.
2003-01-042002-01-03 Paul Eggert <eggert@twinsun.com>Roland McGrath
* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5 when compiling Bison 1.875's `bitset bset = obstack_alloc (bobstack, bytes);'. Problem reported by Nelson H. F. Beebe.
2003-01-04Update.Ulrich Drepper
2003-01-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/system.c (do_system): Correct reference counter in case SIGQUIT handler installation failed.
2003-01-04Update.Ulrich Drepper
* old_pthread_cond_broadcast.c: Optimize initialization a bit to work around gcc defficiencies. * old_pthread_cond_signal.c: Likewise. * old_pthread_cond_timedwait.c: Likewise. * old_pthread_cond_wait.c: Likewise.
2003-01-04Update.Ulrich Drepper
2003-01-04 Ulrich Drepper <drepper@redhat.com> * pthreadP.h (pthread_cond_2_0_t): Remove unneeded lock element.
2003-01-04Update.Ulrich Drepper
* Makefile (tests): Add tst-cond7. * tst-cond7.c: New file.
2003-01-04Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S (condvar_cleanup): Get condvar address from the right place.
2003-01-03Update.Ulrich Drepper
2003-01-03 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h [HAVE_WEAK_SYMBOLS] (_weak_extern): Define using _Pragma(weak ...).
2003-01-03[HAVE_WEAK_SYMBOLS] (_weak_extern): Define using _Pragma(weak ...).Ulrich Drepper
2003-01-03* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASKRoland McGrath
* td_thr_setfpregs.c (td_thr_setfpregs): Likewise. * td_thr_get_info.c (td_thr_get_info): Likewise. * td_thr_getgregs.c (td_thr_getgregs): Likewise. * td_thr_getfpregs.c (td_thr_getfpregs): Likewise. * td_ta_thr_iter.c (iterate_thread_list): Likewise.
2003-01-032003-01-03 Roland McGrath <roland@redhat.com>Roland McGrath
* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK * td_thr_setfpregs.c (td_thr_setfpregs): Likewise. * td_thr_get_info.c (td_thr_get_info): Likewise. * td_thr_getgregs.c (td_thr_getgregs): Likewise. * td_thr_getfpregs.c (td_thr_getfpregs): Likewise. * td_ta_thr_iter.c (iterate_thread_list): Likewise.
2003-01-03Cancellation support for syscalls on Linux/Alpha.Ulrich Drepper
2003-01-03Update.Ulrich Drepper
2003-01-03 Andreas Jaeger <aj@suse.de>, Jakub Jelinek <jakub@redhat.com> * resolv/res_libc.c: Provide declaration for __res_init_weak and reorder declarations. 2003-01-03 Art Haas <ahaas@airmail.net> * localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension initiailzer syntax to C99. * localedata/tests-mbwc/dat_iswalpha.c: Likewise. * localedata/tests-mbwc/dat_iswcntrl.c: Likewise. * localedata/tests-mbwc/dat_iswctype.c: Likewise. * localedata/tests-mbwc/dat_iswdigit.c: Likewise. * localedata/tests-mbwc/dat_iswgraph.c: Likewise. * localedata/tests-mbwc/dat_iswlower.c: Likewise. * localedata/tests-mbwc/dat_iswprint.c: Likewise. * localedata/tests-mbwc/dat_iswpunct.c: Likewise. * localedata/tests-mbwc/dat_iswspace.c: Likewise. * localedata/tests-mbwc/dat_iswupper.c: Likewise. * localedata/tests-mbwc/dat_iswxdigit.c: Likewise. * localedata/tests-mbwc/dat_mblen.c: Likewise. * localedata/tests-mbwc/dat_mbrlen.c: Likewise. * localedata/tests-mbwc/dat_mbrtowc.c: Likewise. * localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise. * localedata/tests-mbwc/dat_mbstowcs.c: Likewise. * localedata/tests-mbwc/dat_mbtowc.c: Likewise. * localedata/tests-mbwc/dat_strcoll.c: Likewise. * localedata/tests-mbwc/dat_strfmon.c: Likewise. * localedata/tests-mbwc/dat_strxfrm.c: Likewise. * localedata/tests-mbwc/dat_swscanf.c: Likewise. * localedata/tests-mbwc/dat_towctrans.c: Likewise. * localedata/tests-mbwc/dat_towlower.c: Likewise. * localedata/tests-mbwc/dat_towupper.c: Likewise. * localedata/tests-mbwc/dat_wcrtomb.c: Likewise. * localedata/tests-mbwc/dat_wcscat.c: Likewise. * localedata/tests-mbwc/dat_wcschr.c: Likewise. * localedata/tests-mbwc/dat_wcscmp.c: Likewise. * localedata/tests-mbwc/dat_wcscoll.c: Likewise. * localedata/tests-mbwc/dat_wcscpy.c: Likewise. * localedata/tests-mbwc/dat_wcscspn.c: Likewise. * localedata/tests-mbwc/dat_wcslen.c: Likewise. * localedata/tests-mbwc/dat_wcsncat.c: Likewise. * localedata/tests-mbwc/dat_wcsncmp.c: Likewise. * localedata/tests-mbwc/dat_wcsncpy.c: Likewise. * localedata/tests-mbwc/dat_wcspbrk.c: Likewise. * localedata/tests-mbwc/dat_wcsrtombs.c: Likewise. * localedata/tests-mbwc/dat_wcsspn.c: Likewise. * localedata/tests-mbwc/dat_wcsstr.c: Likewise. * localedata/tests-mbwc/dat_wcstod.c: Likewise. * localedata/tests-mbwc/dat_wcstok.c: Likewise. * localedata/tests-mbwc/dat_wcstombs.c: Likewise. * localedata/tests-mbwc/dat_wcswidth.c: Likewise. * localedata/tests-mbwc/dat_wcsxfrm.c: Likewise. * localedata/tests-mbwc/dat_wctob.c: Likewise. * localedata/tests-mbwc/dat_wctomb.c: Likewise. * localedata/tests-mbwc/dat_wctrans.c: Likewise. * localedata/tests-mbwc/dat_wctype.c: Likewise. * localedata/tests-mbwc/dat_wcwidth.c: Likewise. 2003-01-03 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New. (inline_syscall_r0_constraint): New. (inline_syscall[0-6]): Use them.
2003-01-03Update.Ulrich Drepper
2003-01-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls): Add rtld_hidden_proto. * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def. (_dl_allocate_tls): Likewise. Remove INTDEF.
2003-01-03Update.Ulrich Drepper
2003-01-03 Jakub Jelinek <jakub@redhat.com> * Makefile ($(objpfx)libpthread.so): Depend on ld.so.
2003-01-03Update.Ulrich Drepper
* pthreadP.h (pthread_cond_2_0_t): New type. (struct pthread_functions): Use new type for 2.0 condvar callbacks. Use new type for the 2.0 condvar function prototypes. * forward.c: Use pthread_cond_2_0_t for 2.0 condvar functions. * old_pthread_cond_init.c: Use pthread_cond_2_0_t for condvar parameter. * old_pthread_cond_destroy.c: Likewise. * old_pthread_cond_broadcast.c: Likewise. Lock appropriately. * old_pthread_cond_signal.c: Likewise. * old_pthread_cond_timedwait.c: Likewise. * old_pthread_cond_wait.c: Likewise.
2003-01-03Update.Ulrich Drepper
2002-07-05 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/memcpy.S: Optimize. Based on a patch by Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>. * sysdeps/sh/memcpy.S: Likewise.
2003-01-03Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S (__pthread_cond_wait): Don't save cancellation mode and seq value in same location.
2003-01-03Update.Ulrich Drepper
2003-01-03 Ulrich Drepper <drepper@redhat.com> * herrno.c (__h_errno_location): Don't define as weak.
2003-01-03Update.Ulrich Drepper
* sysdeps/pthread/aio_suspend.c (aio_suspend): Don't quite remove any, but unify the test.
2003-01-03Update.Ulrich Drepper
2003-01-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/aio_suspend.c (aio_suspend): Simplify by removing 'any' variable.
2003-01-03Update.Ulrich Drepper
2003-01-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with #ifndef LIBC_SIGACTION. * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction, sigaction): Likewise. Remove SIGCANCEL handling here. * sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction): Likewise.
2003-01-02Update.Ulrich Drepper
2003-01-02 Art Haas <ahaas@airmail.net> * login/tst-utmp.c: Convert GCC extension initializer syntax to C99. 2003-01-02 Ulrich Drepper <drepper@redhat.com> * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. * nscd/nscd_nischeck.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union type to avoid strict aliasing problem. (_nss_dns_gethostbyname2_r): Likewise. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. (_nss_dns_getnetbyname_r): Likewise.
2003-01-02Update.Ulrich Drepper
2003-01-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/pthreadtypes.h (pthread_cond_t): Add padding. * condvar.c: Add symbol versioning. The compatibility versions are the same as the change in the interface does not effect this implementation. * Versions [libpthread]: Add definitions for new pthread_cond_* interfaces for version GLIBC_2.3.2.
2003-01-02Not needed anymore.Ulrich Drepper
2003-01-02Update.Andreas Jaeger
2003-01-01 Jakub Jelinek <jakub@redhat.com> * io/sys/stat.h: Include time.h with __need_timespec even if __USE_MISC is defined but __USE_XOPEN is not.
2003-01-02Include time.h with __need_timespec even if __USE_MISC is defined but ↵Andreas Jaeger
__USE_XOPEN is not.
2003-01-02Update.Ulrich Drepper
2003-01-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Avoid unnecessary zero offset when addressing MUTEX.
2003-01-02Pretty printing.Ulrich Drepper
2003-01-01 (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.Andreas Jaeger
2003-01-012003-01-01 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union type to avoid strict aliasing problem. (_nss_dns_gethostbyname2_r): Likewise. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. (_nss_dns_getnetbyname_r): Likewise. * resolv/gethnamaddr.c (_gethtent): Likewise. (gethostbyname2): Likewise.
2003-01-01 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union ↵Andreas Jaeger
type to avoid strict aliasing problem. (_nss_dns_gethostbyname2_r): Likewise. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. (_nss_dns_getnetbyname_r): Likewise. * resolv/gethnamaddr.c (_gethtent): Likewise. (gethostbyname2): Likewise.
2002-12-31Update.Ulrich Drepper
2002-12-31 Ulrich Drepper <drepper@redhat.com> * string/string-inlines.c: Define __memcpy_g and __strchr_g macros to avoid using the exported symbols. Define aliases with the original names separately. * include/time.h: Add libc_hidden_proto for __strftime_l. * include/wchar.h: Add libc_hidden_proto for __wcsftime_l. * time/strftime.c: Always use libc_hidden_def if _LIBC. * libio/libioP.h: Add libc_hidden_proto for _IO_file_open. * libio/fileops.c: Add libc_hidden_def for _IO_file_open. * malloc/mtrace.c: Add libc_hidden_proto and libc_hidden_def for tr_break. * csu/Makefile (routines): Add dso_handle. * csu/dso_handle.c: New file.
2002-12-31Define our own dso_handle.Ulrich Drepper
2002-12-31* Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.Roland McGrath
Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS). (S-CPPFLAGS): Add -DASSEMBLER here instead. (generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).