about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-05-102-2/+2
| | | | * posix/sched.h (CPU_SETSIZE): Define.
* Update.Ulrich Drepper2003-05-102-0/+5
| | | | | | 2003-05-10 Ulrich Drepper <drepper@redhat.com> * posix/sched.h (NCPUBITS): Define.
* Update.Ulrich Drepper2003-05-103-2/+4
| | | | * Makeconfig (gnulib): Remove -lgcc_eh again.
* Update.Ulrich Drepper2003-05-1028-77/+480
| | | | | | | | | | | | | | | | | | | | | | | | | * posix/sched.h: Change prototypes of sched_getaffinity and sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO. * sysdeps/generic/sched_getaffinity.c: Adjust definition. * sysdeps/generic/sched_setaffinity.c: Likewise. * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS, __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET, __CPU_CLR, and __CPU_ISSET. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file. * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file. * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. (atomic_exchange_rel): New #define. * sysdeps/ia64/bits/atomic.h: Likewise. * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange. * sysdeps/m68k/m68020/bits/atomic.h: Likewise. * sysdeps/powerpc/bits/atomic.h: Likewise. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise. * sysdeps/sparc/sparc64/bits/atomic.h: Likewise. * sysdeps/x86_64/bits/atomic.h: Likewise. * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.
* Update.Ulrich Drepper2003-05-096-4/+32
| | | | | | 2003-05-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file.
* Update.Ulrich Drepper2003-05-0911-209/+423
| | | | | | | 2003-05-08 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h: Remove special handling of thread_atfork if HAVE_register_atfork_malloc is defined.
* (unwind_cleanup): Print error message and then abort. This function must ↵Ulrich Drepper2003-05-091-1/+7
| | | | never be reached.
* Update.Andreas Jaeger2003-05-071-0/+5
| | | | | | | 2003-05-07 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind information.
* Add DWARF2 unwind information.Andreas Jaeger2003-05-071-1/+28
|
* Update.Ulrich Drepper2003-05-077-23/+41
| | | | | | | | | | 2003-05-06 Ulrich Drepper <drepper@redhat.com> * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init. * libio/oldiofopen.c (_IO_old_fopen): Likewise. * libio/libioP.h: Declare _IO_old_init. * libio/genops.c (_IO_no_init): Split in two. New function _IO_old_init.
* Update.Ulrich Drepper2003-05-062-4/+8
| | | | | | 2003-05-06 Ulrich Drepper <drepper@redhat.com> * locales/de_DE: Use two-letter abday values.
* Update.Ulrich Drepper2003-05-066-3/+50
| | | | | | | | | | | * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New variable. (__libc_init_secure): Don't do anything if __libc_enable_secure_decided is nonzero. * include/unistd.h: Declare __libc_enable_secure_decided. * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, and AT_EGID. If all found, set __libc_enable_secure and __libc_enable_secure_decided.
* Update.Ulrich Drepper2003-05-063-10/+17
| | | | | | | 2003-05-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c [!SHARED]: Call __libc_check_standard_fds after __libc_init_first.
* (TLS_INIT_TP): Include \n in error message.Ulrich Drepper2003-05-061-1/+1
|
* * Makerules (common-before-compile): New variable.Roland McGrath2003-05-051-3/+9
| | | | | | | | | ($(common-objpfx)%.make): Depend on that instead of $(before-compile). ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule to after all setting of before-compile. * sunrpc/Makefile (generated-dirs): New variable. * resolv/Makefile (generated): New variable.
* 2003-05-05 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-051-20/+27
| | | | | | | * Makerules (common-before-compile): New variable. ($(common-objpfx)%.make): Depend on that instead of $(before-compile). ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule to after all setting of before-compile.
* Update.Ulrich Drepper2003-05-0511-20/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type. * sysdeps/powerpc/powerpc32/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Likewise. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, __arch_compare_and_exchange_val_16_acq, __arch_compare_and_exchange_val_64_acq): Likewise. * sysdeps/sparc/sparc64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, __arch_compare_and_exchange_val_16_acq): Likewise. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq, __arch_compare_and_exchange_val_16_acq, __arch_compare_and_exchange_val_64_acq): Likewise. * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__arch_compare_and_exchange_val_64_acq): Likewise. * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut up warning. * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0): Return long instead of int. (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace 0xfffff001u with -4095UL.
* (tst_wcsxfrm): Use %zu instead of %d format specifier when printing ret.Ulrich Drepper2003-05-051-2/+2
|
* Update.Andreas Jaeger2003-05-053-1/+8
| | | | | | * sunrpc/Makefile (generated-dirs): New. * resolv/Makefile (generate): New.
* Update.Andreas Jaeger2003-05-052-0/+103
| | | | * sysdeps/x86_64/fpu_control.h: New from i386.
* Update.Andreas Jaeger2003-05-051-0/+5
| | | | | | | 2003-05-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop): Define if not defined.
* (__NR_semtimedop): Define if not defined.Andreas Jaeger2003-05-051-0/+7
|
* * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.Roland McGrath2003-05-046-5/+16
| | | | Depend on $(before-compile).
* * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a staticRoland McGrath2003-05-042-1/+10
| | | | | | | | pattern rule. The implicit rule could be ruled out when $(objpfx) didn't exist at the time of its consideration (ugh!). * Makerules (+make-deps): Fix target matching. Use $(sed-remove-dotdot).
* 2003-05-04 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-041-3/+3
| | | | | * Makerules (+make-deps): Fix target matching. Use $(sed-remove-dotdot).
* Update.Ulrich Drepper2003-05-049-49/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-03 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (main): Parse config file right after parsing parameters. Then, if get_stats is true, call receive_print_stats. Drop parameter from nscd_init call. (get_stats): New variable. (parse_opt): Set get_stats, don't call receive_print_stats here. * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init prototype. * nscd/connections.c (stat_user, stat_uid): New variables. (dbs): Make global. (nscd_init): Don't read configuration file here. Drop parameter. (handle_request): Cleanup handling of non-database lookup requests. * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry. Get UID of the specified user. Use xstrdup instead of strdup. * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero, check stat_user. * nscd/Makefile (nscd-modules): Add xstrdup. * nscd/nscd.conf: Document stat-user entry. 2003-05-03 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define if not defined.
* Update.Ulrich Drepper2003-05-046-43/+87
| | | | | | | | | | | | | | | 2003-04-22 Roland McGrath <roland@redhat.com> * elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead. * elf/dl-support.c: Update defn. * sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR. (_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME. * elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is set, set up a link_map for the preloaded, prelinked object.
* (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.Ulrich Drepper2003-05-041-1/+1
|
* * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...Roland McGrath2003-05-033-4/+15
| | | | | | | * stdio-common/Makefile: ... not here. * csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile). * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
* 2003-05-03 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-031-2/+0
| | | | | * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ... * stdio-common/Makefile: ... not here.
* Update.Ulrich Drepper2003-05-031-1/+0
|
* Update.Ulrich Drepper2003-05-035-8/+20
| | | | | | | | | | | | | 2003-05-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_condattr_t): Size is only an int, don't use long for alignment. (pthread_mutexattr_t): Likewise. (pthread_barrierattr_t): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* Update.Ulrich Drepper2003-05-032-0/+3
| | | | * sysdeps/unix/sysv/linux/s390/semtimedop.c: New file.
* Update.Ulrich Drepper2003-05-022-1/+4
| | | | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define.
* Update.Ulrich Drepper2003-05-022-2/+4
| | | | | | * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for comparing ftab elements. (_dl_unmap): Fix typo in test.
* Update.Ulrich Drepper2003-05-022-2/+6
| | | | | * sysdeps/generic/dl-fptr.c (_dl_unmap): Fix typo in test. (_dl_make_fptr): Fix typos introduced in last change.
* Update.Ulrich Drepper2003-05-021-0/+6
| | | | | | | | 2003-05-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-fptr.c: Put back one optimization from the original patch. Use non-exported symbols. Mark translatable strings. Pretty printing.
* Put back one optimization from the original patch. Use non-exported symbols. ↵Ulrich Drepper2003-05-021-20/+30
| | | | Mark translatable strings. Pretty printing.
* * Makerules (do-stamp): Do $(make-target-directory).Roland McGrath2003-05-021-0/+4
|
* 2003-05-02 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-021-0/+1
| | | | * Makerules (do-stamp): Do $(make-target-directory).
* Generic symbol address handling for platforms with function pointers.Ulrich Drepper2003-05-021-0/+33
|
* Update.Ulrich Drepper2003-05-025-42/+405
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-07 H.J. Lu <hjl@gnu.org> * sysdeps/generic/dl-fptr.c: Modify to remove the lock. 2003-04-03 H.J. Lu <hjl@gnu.org> * sysdeps/ia64/dl-fptr.c: Moved to ... * sysdeps/generic/dl-fptr.c: Here. * sysdeps/generic/dl-fptr.h: New. * sysdeps/ia64/dl-fptr.h: New. * sysdeps/ia64/dl-symaddr.c: Moved to ... * sysdeps/generic/dl-symaddr.c: here. * sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>. (IA64_BOOT_FPTR_TABLE_LEN): Removed. (ia64_fdesc): Likewise. (ia64_fdesc_table): Likewise. (__ia64_make_fptr): Likewise. (__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table with _dl_boot_fptr_table. (elf_machine_runtime_setup): Replace `struct ia64_fdesc' with `struct fdesc'. (elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr.
* Not needed anymore.Ulrich Drepper2003-05-021-288/+0
|
* * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__].Roland McGrath2003-05-027-17/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise. * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Use $(make-target-directory). * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise. * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d. (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags). (compile-command.s, compile-command.c): Likewise. ($(objpfx)%.d): All such pattern rules removed. ($(+sysdir_pfx)sysd-rules): Don't generate them. ($(common-objpfx)dummy.d): Target removed. (make-dummy-dep): Variable removed. (generate-md5): Likewise. (%.d: %.dt): New pattern rule. (+depfiles): Use $(wildcard) function to get just existing *.d files and .d files for existing *.dt files. (common-clean): Remove all *.d and *.dt files. (before-compile): Add $(objpfx). when it doesn't exist, regardless of $(no_deps). * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed. (rtld-depfiles): Use .os.d instead of .d names. Include existing *.d files and .d files for existing *.dt files. * Makerules ($(common-objpfx)%.make): Protect with [! subdir]. Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable. * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack. Do s-*.d includes only if we have some syscall routines in this subdir. * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of @nobits. The former is accepted by gas on any ELF platform.
* 2003-05-01 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-021-60/+26
| | | | | | | | | | | | | | | | | | | | | | * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d. (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags). (compile-command.s, compile-command.c): Likewise. ($(objpfx)%.d): All such pattern rules removed. ($(+sysdir_pfx)sysd-rules): Don't generate them. ($(common-objpfx)dummy.d): Target removed. (make-dummy-dep): Variable removed. (generate-md5): Likewise. (%.d: %.dt): New pattern rule. (+depfiles): Use $(wildcard) function to get just existing *.d files and .d files for existing *.dt files. (common-clean): Remove all *.d and *.dt files. (before-compile): Add $(objpfx). when it doesn't exist, regardless of $(no_deps). * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed. (rtld-depfiles): Use .os.d instead of .d names. Include existing *.d files and .d files for existing *.dt files. * Makerules ($(common-objpfx)%.make): Protect with [! subdir]. Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable.
* Update.Ulrich Drepper2003-05-0117-31/+81
| | | | | | | | | | | | | | | | | | | | | | | | 2003-05-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/tls.h: Define THREAD_ID. * sysdeps/ia64/tls.h: Likewise. * sysdeps/powerpc/tls.h: Likewise. * sysdeps/s390/tls.h: Likewise. * sysdeps/sh/tls.h: Likewise. * sysdeps/x86_64/tls.h: Likewise. * pthread_mutex_lock.c: Use THREAD_ID instead of THREAD_SELF to record ownership. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_trylock.c: Likewise. * pthread_mutex_unlock.c: Likewise. * pthread_rwlock_trywrlock.c: Likewise. * sysdeps/pthread/pthread_rwlocklock_rdlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise. * sysdeps/pthread/createthread.c (create_thread): Use CLONE_SYSVSEM flag.
* Update.Ulrich Drepper2003-05-012-0/+42
| | | | * sysdeps/unix/sysv/linux/semtimedop.c: New file.
* Update.Ulrich Drepper2003-05-0113-11/+70
| | | | | | | | | | 2003-05-01 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. 2003-04-29 Andreas Schwab <schwab@suse.de> * string/test-strcat.c (do_one_test): Fix attribute name.
* (__SIZEOF_PTHREAD_COND_T): Define to 48. (pthread_rwlock_t): Add 16 bytes of ↵Ulrich Drepper2003-05-011-2/+3
| | | | pad instead of 8 before __flags.
* * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make uc_flags long ↵Alexandre Oliva2003-04-302-4/+5
| | | | | | | | | for all ABIs. 2003-04-30 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make uc_flags long for all ABIs.