aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-07-21Update.Ulrich Drepper
2003-07-21 Ulrich Drepper <drepper@redhat.com> * Makerules (build-module-helper): Add -z defs unless explicitly said not to do it. * dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs which has undefined symbols. * elf/Makefile: Likewise.
2003-07-21Update.Ulrich Drepper
2003-07-21 HJ Lu <hongjiu.lu@intel.com> * elf/ldconfig.c (search_dir): Treat symlink as regular file if it won't point to itself.
2003-07-20Update.Ulrich Drepper
2003-07-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int.
2003-07-20Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO): Fix typo.
2003-07-20lseek and llseek are no cancellation points.Ulrich Drepper
2003-07-20* iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called Andreas Jaeger
STANDARD_TO_LOOP_ERR_HANDLER. * iconvdata/euc-jp-ms.c (BODY): Likewise. 2003-07-20 Andreas Jaeger <aj@suse.de> * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called STANDARD_TO_LOOP_ERR_HANDLER. * iconvdata/euc-jp-ms.c (BODY): Likewise.
2003-07-20Update.Ulrich Drepper
2003-07-20 Ulrich Drepper <drepper@redhat.com> * Makefile (libpthread-routines): Add pthread_attr_getaffinity and pthread_attr_setaffinity. * Versions [libpthread] (GLIBC_2.3.3): Likewise. * sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: New file. * sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: New file. * pthread_attr_destroy.c: Free cpuset element if allocated. * pthread_create.c: Pass iattr as additional parameter to create_thread. * sysdeps/pthread/createthread.c: If attribute is provided and a new thread is created with affinity set or scheduling parameters, start thread with CLONE_STOPPED. * sysdeps/pthread/pthread.h: Declare pthread_attr_getaffinity and pthread_attr_setaffinity. * sysdeps/unix/sysv/linux/internaltypes.h (struct pthread_attr): Add cpuset element.
2003-07-19Update.Ulrich Drepper
2003-07-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/syscalls.list: Remove affinity syscalls.
2003-07-19Remove affinity syscalls.Ulrich Drepper
2003-07-16Update.Andreas Jaeger
2003-07-16 Daniel Jacobowitz <drow@mvista.com> Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to 256K, remove unneeded declaration of __getpagesize.
2003-07-162003-07-16 Daniel Jacobowitz <drow@mvista.com> Andreas Jaeger
Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to 256K, remove unneeded declaration of __getpagesize.
2003-07-16Update.Ulrich Drepper
2003-07-16 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/futimes.c: Include <string.h>.
2003-07-15Update.Ulrich Drepper
2003-07-15 Ulrich Drepper <drepper@redhat.com> * io/test-utime.c (main): Make test yet more robust.
2003-07-15Update.Ulrich Drepper
More cancellation handling fixups. * sysdeps/unix/sysv/linux/not-cancel.h: Add waitpid_not_cancel. * sysdeps/generic/not-cancel.h: Likewise. * catgets/open_catalog.c: Use not-cancelable syscalls. * time/Makefile (CFLAGS-getdate.c): Add -fexceptions. * sysdeps/unix/sysv/linux/llseek.c: Must not be cancelable. * sysdeps/unix/syscalls.list: Don't mark lseek as cancelable. * dlfcn/dlfcn.h: Mark dlopen with __THROW again. * io/fcntl.h: Don't mark posix_fallocate with __THROW. * libio/fileops.c: Use not-cancelable syscalls for fclose. * libio/iopopen.c: Use no-cancelable syscalls. * libio/stdio.h: Mark popen and pclose with __THROW again. * misc/Makefile (CFLAGS-syslog.c): Add -fexceptions. * misc/syslog.c: Fix locking and cancellation cleanup handling. * posix/unistd.h: Mark ttyname and ttyname_r again with __THROW. * stdio-common/Makefile (CFLAGS-tmpfile.c, CFLAGS-tmpfile64.c, CFLAGS-tempname.c): Add -fexceptions. * stdlib/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. * string/string.h: Mark strerror and strerror_r with _THROW again. * sysdeps/generic/unwind.inc: New file. Copied from gcc. * sysdeps/generic/unwind-dw2.c: Update from gcc version. Remove #ifs since we now need all the code compiled. * sysdeps/posix/spawni.c: Use close_not_cancel instead of close. * sysdeps/unix/closedir.c: Use not-cancelable syscalls. * sysdeps/unix/opendir.c: Likewise.
2003-07-15Update.Ulrich Drepper
2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/configure.in: Require CFI directives also for ppc and s390.
2003-07-15Update.Ulrich Drepper
2003-07-14 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS. Add rule for EUC-JP-MS dependency. * iconvdata/cp932.c: New file. * iconvdata/eucjp-ms.c: New file. * iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS. Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>. 2003-07-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add cfi directives.
2003-07-14Update.Ulrich Drepper
2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Fix typo in test for compilation in libc.
2003-07-14Update.Ulrich Drepper
2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FIXED_CLONE_SYSCALL): New macro. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Use it. * sysdeps/unix/sysv/linux/utimes.c: Include sysdep.h.
2003-07-14Update.Ulrich Drepper
2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_TGKILL for Alpha appropriately.
2003-07-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE): Likewise. * sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE): Likewise.
2003-07-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/statfs.h (_STATFS_F_FRSIZE): Define.
2003-07-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMES for x86 and kernels > 2.5.75. * sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with second parameter == NULL. * sysdeps/unix/sysv/linux/utimes.c: New file. 2003-07-12 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix a typo. 2003-07-12 Ulrich Drepper <drepper@redhat.com>
2003-07-12Update.Ulrich Drepper
* time/sys/time.h: Namespace cleanup.
2003-07-12Update.Ulrich Drepper
2003-07-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMES for the architectures which always had the syscall. * sysdeps/unix/sysv/linux/futimes.c: New file.
2003-07-12Update.Ulrich Drepper
2003-07-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR register across CENABLE and CDISABLE.
2003-07-11Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sigwait.c: Include string.h. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned int before assigning to max to avoid warnings. 2003-07-11 Jakub Jelinek <jakub@redhat.com>
2003-07-11Update.Ulrich Drepper
2003-07-11 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add cfi directives. * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.
2003-07-10Update.Ulrich Drepper
2003-07-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of .data.rel.ro.local to "aw".
2003-07-10Update.Ulrich Drepper
* sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition.
2003-07-10Update.Ulrich Drepper
2003-07-10 Ulrich Drepper <drepper@redhat.com> * Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag. (PIC-ccflag): Define.
2003-07-08Update.Ulrich Drepper
2003-07-08 Jakub Jelinek <jakub@redhat.com> * pthreadP.h (__pthread_unwind_next, __pthread_register_cancel, __pthread_unregister_cancel): Add prototypes and hidden_proto. * unwind.c (__pthread_unwind_next): Add hidden_def. * cleanup.c (__pthread_register_cancel, __pthread_unregister_cancel): Likewise. * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S (__new_sem_wait): Use HIDDEN_JUMPTARGET to jump to __pthread_unwind. * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait): Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_wait.S (sem_wait): Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait): Likewise. * sysdeps/unix/sysv/linux/i386/pthread_once.S (__pthread_once): Use HIDDEN_JUMPTARGET to call __pthread_register_cancel, __pthread_unregister_cancel and __pthread_unwind_next.
2003-07-08Update.Ulrich Drepper
2003-07-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/s390/s390-32/elf/start.S: Emit position independent code if PIC. * sysdeps/s390/s390-64/elf/start.S: Likewise. 2003-07-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address) into .data.rel.ro.local section if PIC to avoid DT_TEXTREL.
2003-07-08Update.Ulrich Drepper
2003-07-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Version __ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for compilation with HAVE_AUX_SECURE defined.
2003-07-08Update.Ulrich Drepper
2003-07-07 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Add pid field. * allocatestack.c (allocate_stack): Initialize pid field in descriptor. (__reclaim_stacks): Likewise. * init.c (sigcancel_handler): If __ASSUME_CORRECT_SI_PID is defined also check for PID of the signal source. (__pthread_initialize_minimal_internal): Also initialize pid field of initial thread's descriptor. * pthread_cancel.c: Use tgkill instead of tkill if possible. * sysdeps/unix/sysv/linux/fork.c: Likewise. * sysdeps/unix/sysv/linux/pt-raise.c: Likewise. * sysdeps/unix/sysv/linux/pthread_kill.c: Likewise. * sysdeps/unix/sysv/linux/raise.c: Likewise.
2003-07-08(_dl_sysdep_start): Adjust for compilation with HAVE_AUX_SECURE defined.Ulrich Drepper
2003-07-05 * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end. * ↵Richard Henderson
sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end. 2003-07-05 Richard Henderson <rth@redhat.com> * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
2003-07-05Update.Ulrich Drepper
2003-07-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_push): Renamed. Fix use of parameter. (__libc_cleanup_pop): Likewise.
2003-07-05Update.Ulrich Drepper
2003-07-04 Ulrich Drepper <drepper@redhat.com> * init.c (sigcancel_handler): Change parameters to match handler for SA_SIGACTION. Check signal number and code to recognize invalid invocations.
2003-07-05(sigcancel_handler): Change parameters to match handler for SA_SIGACTION. ↵Ulrich Drepper
Check signal number and code to recognize invalid invocations.
2003-07-03* sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr):Roland McGrath
Apply sizeof (struct pthread) bias to r13 value.
2003-07-032003-07-03 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Apply sizeof (struct pthread) bias to r13 value.
2003-07-03CFI is only really required (so far) for x86 and hammer.Ulrich Drepper
2003-07-03Update.Ulrich Drepper
2003-07-03 Ulrich Drepper <drepper@redhat.com> * configure.in: Also check for .cfi_rel_offset pseudo-op.
2003-07-03Update.Ulrich Drepper
2003-07-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency): Fix a typo.
2003-07-03Update.Ulrich Drepper
2003-07-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_CLKTCK): Define. * sysdeps/unix/sysv/linux/prof-freq.h: New file.
2003-07-03Update.Ulrich Drepper
2003-07-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/librt-cancellation.c (__pthread_unwind): Remove definition. * pthreadP.h (__pthread_unwind): Add hidden_proto if used in libpthread compilation. * unwind.c (__pthread_unwind): Add hidden_def. * Versions (libpthread) [GLIBC_PRIVATE]: Add __pthread_unwind.
2003-07-02Update.Ulrich Drepper
2003-07-02 Ulrich Drepper <drepper@redhat.com> * locales/lo_LA: Update collation info for U0EAF and U0EC6. Update era_t_fmt, era_d_t_fmt, country_name, and lang_name fields. Patch by Anousak Souphavanh <anousak@muanglao.com>.
2003-07-02Update.Ulrich Drepper
2003-07-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo decl and use with #ifdef NEED_DL_SYSINFO.
2003-07-02Update.Ulrich Drepper
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't set GL(dl_sysinfo) unles GL(dl_sysinfo_dso) is also set. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_VSYSCALL only for 2.5.69 and up since this is when the vsyscall DSO was added.
2003-07-02Update.Ulrich Drepper
2003-07-02 Ulrich Drepper <drepper@redhat.com> * posix/bits/posix1_lim.h (_POSIX_NGROUPS_MAX): Define to 8 or 0 depending on selected standard. (NGROUPS_MAX): Define to 8 if not defined.