aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2007-08-01Renamed all lll_mutex_* resp. lll_robust_mutex_* macros to lll_* resp.Ulrich Drepper
lll_robust_*. Renamed all __lll_mutex_* resp. __lll_robust_mutex_* inline functions to __lll_* resp. __lll_robust_*. (LLL_MUTEX_LOCK_INITIALIZER): Remove. (lll_mutex_dead): Add private argument. (__lll_lock_wait_private): New prototype. (__lll_lock_wait, __lll_robust_lock_wait, __lll_lock_timedwait, __lll_robust_lock_timedwait): Add private argument to prototypes. (__lll_lock): Add private argument, if it is constant LLL_PRIVATE, call __lll_lock_wait_private, otherwise pass private to __lll_lock_wait. (__lll_robust_lock, __lll_cond_lock, __lll_timedlock, __lll_robust_timedlock): Add private argument, pass it to __lll_*wait functions. (__lll_unlock): Add private argument, if it is constant LLL_PRIVATE, call __lll_unlock_wake_private, otherwise pass private to __lll_unlock_wake. (__lll_robust_unlock): Add private argument, pass it to __lll_robust_unlock_wake. (lll_lock, lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_timedlock, lll_unlock, lll_robust_unlock): Add private argument, pass it through to __lll_* inline function. (__lll_mutex_unlock_force, lll_mutex_unlock_force): Remove. (lll_lock_t): Remove. (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake, __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait, lll_cond_wake, lll_cond_broadcast): Remove.
2007-07-282007-07-28 Carlos O'Donell <carlos@systemhalted.org>Carlos O'Donell
* sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove. * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared, and __flags. Update comments. Update copyright. * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT, THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT. Update copyright. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright. (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED. (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED. (lll_unlock_Wake_cb): Use lll_private_futex_wake. (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait, lll_private_futex_timed_wait, lll_private_Futex_wake. Add private argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_wake_unlock. * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright. (clear_once_control): Use lll_private_futex_wake. (__pthread_once): Use lll_private_futex_wait, and lll_private_futex_wake. 2007-07-28 Randolph Chung <tausq@debian.org> * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
2007-07-28(FUTEX_PRIVATE_FLAG,Ulrich Drepper
LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define. (lll_futex_wait): Add private argument, define as wrapper around lll_futex_timed_wait. (lll_futex_timed_wait, lll_futex_wake): Add private argument, use __lll_private_flag macro. (lll_robust_mutex_dead, __lll_mutex_unlock, __lll_robust_mutex_unlock, __lll_mutex_unlock_force): Pass LLL_SHARED as last arg to lll_futex_*.
2007-07-28(clear_once_control, __pthread_once): Add LLL_PRIVATE as last argumentUlrich Drepper
to lll_futex_*.
2007-07-28Replace lll_private_futex_* (*) with lll_futex_* (*, LLL_PRIVATE).Ulrich Drepper
2007-07-132007-07-13 Carlos O'Donell <carlos@codesourcery.com>Daniel Jacobowitz
* sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]: Define __WORDSIZE_COMPAT32 as 1.
2007-07-132007-07-13 Joseph Myers <joseph@codesourcery.com>Daniel Jacobowitz
* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h. Increase PTHREAD_STACK_MIN.
2007-07-13 * sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.Daniel Jacobowitz
2007-07-10 * sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): UseDaniel Jacobowitz
lll_private_futex_wake. * sysdeps/unix/sysv/linux/arm/check_pf.c: Update from generic version. * sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c (pthread_cancel_init): Add noinline and barriers. * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c (__lll_timedlock_wait): Update call to lll_futex_timed_wait. (__lll_timedwait_tid): Likewise. * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h (LLL_PRIVATE, LLL_SHARED): Define. (lll_futex_wait): Use lll_futex_timed_wait. (lll_futex_timed_wait, lll_futex_wake, lll_futex_wake_unlock): Take a PRIVATE argument. (lll_private_futex_wait, lll_private_futex_timed_wait, lll_private_futex_wake): New. (lll_robust_mutex_dead, __lll_mutex_lock, __lll_mutex_cond_lock, __lll_mutex_unlock, __lll_robust_mutex_unlock, __lll_mutex_unlock_force, lll_wait_tid): Update calls. * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c (clear_once_control, __pthread_once): Use private futexes. * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c (pthread_cancel_init): Add noinline and barriers. * sysdeps/unix/sysv/aix/bits/fcntl.h, sysdeps/unix/sysv/linux/am33/bits/fcntl.h, sysdeps/unix/sysv/linux/arm/bits/fcntl.h, sysdeps/unix/sysv/linux/cris/bits/fcntl.h, sysdeps/unix/sysv/linux/m68k/bits/fcntl.h, sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix. * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h (SEM_VALUE_MAX): Delete. * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX): Delete.
2007-06-162006-07-16 Jeff Bailey <jbailey@raspberryginger.com>Jeff Bailey
* sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't include asm/elf.h. Declare elf_greg_t, elf_gregset_t, elf_fpreg_t, and elf_fpregset_t.
2007-06-162007-06-16 Jeff Bailey <jbailey@raspberryginger.com>Jeff Bailey
* sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require at least kernel 2.6.9. * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
2007-06-08Adjust use of lll_futex_* macros.Ulrich Drepper
2007-06-07 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.Daniel Jacobowitz
(internal_syscall1, internal_syscall2, internal_syscall3, internal_syscall4, internal_syscall5, internal_syscall6): Use it.
2007-06-06 * sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,Daniel Jacobowitz
THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define. (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT): Define. * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c (lll_unlock_wake_cb): Delete. * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h (FUTEX_PRIVATE_FLAG): Define. (lll_unlock_wake_cb): Delete prototype. * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Include <endian.h>. (pthread_rwlock_t): Shrink __flags and add __shared. * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define. (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT): Define. * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_PRIVATE_FLAG): Define. (lll_unlock_wake_cb): Delete prototype. * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include <endian.h>. (pthread_rwlock_t): Shrink __flags and add __shared.
2007-05-30Remove all traces of lll_unlock_wake_cb.Ulrich Drepper
2007-05-28(THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,Ulrich Drepper
THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT): Define.
2007-05-24 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.cDaniel Jacobowitz
(posix_fadvise): Fix high word of len argument.
2007-05-23 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): DisableDaniel Jacobowitz
exceptions. Use the updated env in fesetenv(). Add libm_hidden_def.
2007-05-23 * sysdeps/unix/sysv/linux/arm/kernel-features.hDaniel Jacobowitz
(__ASSUME_SIGFRAME_V2): Define for 2.6.18 and later. * sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S (__default_sa_restorer): Rename to __default_sa_restorer_v1. Don't define if __ASSUME_SIGFRAME_V2. (__default_rt_sa_restorer): Rename to __default_rt_sa_restorer_v1. Don't define if __ASSUME_SIGFRAME_V2. (__default_sa_restorer_v2, __default_rt_sa_restorer_v2): New. * sysdeps/unix/sysv/linux/arm/nptl/Versions (__default_sa_restorer_v1, __default_rt_sa_restorer_v1, __default_sa_restorer_v2, __default_rt_sa_restorer_v2): Add to GLIBC_PRIVATE. * sysdeps/unix/sysv/linux/arm/sigaction.c [__ARM_EABI__] (__default_sa_restorer_v1, __default_sa_restorer_v2, __default_rt_sa_restorer_v1, __default_rt_sa_restorer_v2): Declare. (__default_sa_restorer, __default_rt_sa_restorer): Define as macros depending on kernel version.
2007-05-23 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.Daniel Jacobowitz
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file. * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2007-05-23 * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.Daniel Jacobowitz
* sysdeps/mips/mips64/n64/Implies: Likewise. * sysdeps/mips/mips64/soft-fp/Makefile: New. * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New. * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and <fpu_control.h>. Use hardware exception and rounding mode settings.
2007-05-23 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type ofDaniel Jacobowitz
r_info argument to ElfW(Addr).
2007-05-182007-05-17 Carlos O'Donell <carlos@systemhalted.org>Carlos O'Donell
* sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h (SEM_VALUE_MAX): Remove.
2007-05-182007-05-17 Carlos O'Donell <carlos@systemhalted.org>Carlos O'Donell
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define. (PIC_REG_USE): Define. (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE. (INTERNAL_SYSCALL): Likewise. (INTERNAL_SYSCALL_NCS): Likewise. * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use PIC_REG_DEF, PIC_REG_USE.
2007-05-10Define UTIME_NOW and UTIME_OMIT.Ulrich Drepper
2007-05-072007-05-07 Richard Henderson <rth@redhat.com>Richard Henderson
* sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define if __NO_LONG_DOUBLE_MATH. * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not available in the compiler, add .arch directive to ethe assembly. 2007-05-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on compat_symbol to GLIBC_2_1. * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in libc, not libm. (__isnanl): New compat_symbol.
2007-05-022007-05-01 Carlos O'Donell <carlos@systemhalted.org>Carlos O'Donell
* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h [__USE_XOPEN2K]: Define pthread_rwlock_t and pthread_rwlockattr_t.
2007-03-17Use __extern_inline and __extern_always_inline where appropriate.Ulrich Drepper
2007-03-14 * sysdeps/alpha/fpu/s_llround.c: New file.Richard Henderson
* sysdeps/alpha/fpu/s_llroundf.c: New file. * sysdeps/alpha/fpu/s_lround.c: New file. * sysdeps/alpha/fpu/s_lroundf.c: New file. * sysdeps/alpha/fpu/s_round.c: New file. * sysdeps/alpha/fpu/s_roundf.c: New file. * sysdeps/alpha/fpu/s_trunc.c: New file. * sysdeps/alpha/fpu/s_truncf.c: New file.
2007-03-14 * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.Richard Henderson
* sysdeps/alpha/fpu/s_ceilf.c: Likewise. * sysdeps/alpha/fpu/s_floor.c: Likewise. * sysdeps/alpha/fpu/s_floorf.c: Likewise. * sysdeps/alpha/fpu/s_rint.c: Likewise. * sysdeps/alpha/fpu/s_rintf.c: Likewise. * sysdeps/alpha/fpu/s_fmax.S: New file. * sysdeps/alpha/fpu/s_fmaxf.S: New file. * sysdeps/alpha/fpu/s_fmin.S: New file. * sysdeps/alpha/fpu/s_fminf.S: New file. * sysdeps/alpha/fpu/s_isnan.c: New file. * sysdeps/alpha/fpu/s_isnanf.c: New file. * sysdeps/alpha/fpu/s_llrint.c: New file. * sysdeps/alpha/fpu/s_llrintf.c: New file. * sysdeps/alpha/fpu/s_lrint.c: New file. * sysdeps/alpha/fpu/s_lrintf.c: New file. * sysdeps/alpha/fpu/s_nearbyint.c: New file. * sysdeps/alpha/fpu/s_nearbyintf.c: New file. * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. (__fdimf, fdimf, __fdim, fdim): Remove. (__signbitf, __signbit, __signbitl): Use gcc builtin if available. (__isnanf, __isnan, __isnanl): New.
2007-03-14 * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding.Richard Henderson
* sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
2007-03-13 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use twoRichard Henderson
separate cfi regions for the two subsections.
2007-03-13 * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.Richard Henderson
* sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): Move to dl-auxv.h; initialize instead of extern weak. (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef weak symbol. * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): Extern instead of initialized.
2007-03-13 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support forRichard Henderson
__sigsuspend_nocancel.
2007-02-022007-02-02 Carlos O'Donell <carlos@systemhalted.org>Carlos O'Donell
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define. (PTR_DEMANGLE): Define.
2007-02-022007-02-02 Guy Martin <gmsoft@tuxicoman.be>Carlos O'Donell
* sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile): Add cfi_endproc.
2007-02-01 * sysdeps/mips/bits/mathdef.h (float_t): Change to float.Daniel Jacobowitz
2007-01-25 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,Daniel Jacobowitz
shmctl, and semctl. * sysdeps/unix/sysv/linux/mips/misp64/semctl.c, sysdeps/unix/sysv/linux/mips/mips64/shmctl.c, sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2007-01-23 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):Daniel Jacobowitz
Define. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define.
2007-01-23 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.hDaniel Jacobowitz
(cfi_same_value): Delete definition.
2007-01-23 [BZ #2749]Daniel Jacobowitz
* sysdeps/powerpc/nofpu/fenv_libc.h: New file.
2007-01-08 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.Daniel Jacobowitz
(elf_machine_reloc): New function, retaining the body of elf_machine_rel. Take the reloc's r_info field as an argument, not the reloc itself. Add extra r_addend and inplace_p arguments. When inplace_p is false, use r_addend as the addend, not the contents of the relocation field. Hoist the conversion of reloc_addr to "ELFW(Addr) *". Don't try to apply TLS relocations against undefined symbols. Add R_MIPS_GLOB_DAT support. (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc. (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel) to ElfW(Rela).
2007-01-08 * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. CorrectDaniel Jacobowitz
multiple inclusion guard. * sysdeps/mips/elf/ldsodefs.h: Delete file.
2007-01-08 * sysdeps/powerpc/nofpu/fesetenv.c (__sim_exceptions,Daniel Jacobowitz
__sim_disabled_exceptions, __sim_round_mode): Remove declarations.
2007-01-08 * sysdeps/unix/sysv/linux/arm/check_pf.c: New file.Daniel Jacobowitz
* sysdeps/unix/sysv/linux/arm/eabi/check_pf.c: New file.
2007-01-08 * sysdeps/arm/fpu/bits/mathdef.h: Move toDaniel Jacobowitz
sysdeps/arm/bits/mathdef.h. Remove comment about FPA.
2007-01-08 * sysdeps/arm/eabi/jmpbuf-offsets.h: New.Daniel Jacobowitz
2007-01-05 * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): UpdateDaniel Jacobowitz
to match the kernel.
2006-12-032006-12-03 Carlos O'Donell <carlos@systemhalted.org>Carlos O'Donell
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic versions. Adjust jump target to '0b'. 2006-12-03 Carlos O'Donell <carlos@systemhalted.org> * sysdeps/hppa/Makefile: Set long-double-fcts to `no'. * sysdeps/hppa/fpu/libm-test-ulps: Regenerate. * sysdeps/hppa/fpu/bits/mathdef.h: New file.
2006-11-27 * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)Andreas Schwab
(UNDOARGS_6): Define for 6-argument syscall stubs.