2012-11-03 Joseph Myers [BZ #3439] * sysdeps/hppa/fpu/bits/fenv.h (FE_INVALID): Define macro to integer constant usable in #if and use that to give value to enum constant. (FE_DIVBYZERO): Likewise. (FE_OVERFLOW): Likewise. (FE_UNDERFLOW): Likewise. (FE_INEXACT): Likewise. (FE_TONEAREST): Likewise. (FE_TOWARDZERO): Likewise. (FE_UPWARD): Likewise. (FE_DOWNWARD): Likewise. 2012-10-30 Joseph Myers [BZ #14047] * sysdeps/hppa/tininess.h: New file. 2012-10-29 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/sysdep.h (ENTRY): Add cfi_startproc. Use .cfi_offset for rp store. (ENTRY_LEAF): Likewise. (END) Add cfi_Endproc. (DO_CALL): Add cfi directives. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Document register clobbering. [PIC](TREG, SAVE_PIC, LOAD_PIC, TREG_ASM, SAVE_ASM_PIC, LOAD_ASM_PIC CLOB_TREG, PIC_REG_DEF, PIC_REG_USE): Move... (TREG, SAVE_PIC, LOAD_PIC, TREG_ASM, SAVE_ASM_PIC, LOAD_ASM_PIC CLOB_TREG, PIC_REG_DEF, PIC_REG_USE): ... to here. [!PIC](TREG, SAVE_PIC, LOAD_PIC, TREG_ASM, SAVE_ASM_PIC, LOAD_ASM_PIC CLOB_TREG, PIC_REG_DEF, PIC_REG_USE): Remove. (TREG): Use r4. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Don't include sys/syscall.h. Document nop removal. (PSEUDO): Remove nop. (PSEUDO_NOERRNO): Likeise. (PSEUDO_ERRVAL): Likewise. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Remove trailing whitespace. 2012-10-26 Andreas Jaeger * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Remove all definitions and declarations that are provided by and include . (__O_PATH): Define. 2012-10-24 Joseph Myers * sysdeps/hppa/nptl/Makefile (tst-oddstacklimit-ENV): Remove. * sysdeps/hppa/nptl/tst-oddstacklimit.c: New file. 2012-10-10 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update. * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Removed. * sysdeps/hppa/nptl/shlib-versions: New file. 2012-10-02 Siddhesh Poyarekar * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Fix clone flag name in comment to CLONE_CHILD_CLEARTID. 2012-09-20 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/syscalls.list: Use __prlimit64 as the strong name. 2012-09-20 Carlos O'Donell Andreas Schwab * sysdeps/unix/sysv/linux/hppa/Versions: Add new errlist-compat entry value of 260 for GLIBC_2.17. * sysdeps/unix/sysv/linux/hppa/bits/errno.h (EHWPOISON): Define if not defined. 2012-08-27 Joseph Myers * sysdeps/unix/sysv/linux/hppa/kernel-features.h (__ASSUME_STAT64_SYSCALL): Remove. 2012-08-20 Joseph Myers * sysdeps/unix/sysv/linux/hppa/kernel-features.h (__ASSUME_MMAP2_SYSCALL): Remove. 2012-08-15 Maxim Kuvyrkov * sysdeps/hppa/nptl/pthread_spin_lock.c: Use generic code. * sysdeps/hppa/nptl/pthread_spin_trylock.c: Remove, use generic version. 2012-08-12 Mike Frysinger * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add prlimit64. * sysdeps/unix/sysv/linux/hppa/Versions (GLIBC_2.17): Likewise. 2012-08-07 Joseph Myers * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Remove. * sysdeps/unix/sysv/linux/hppa/nptl/configure: Likewise. * sysdeps/unix/sysv/linux/hppa/kernel-features.h (__ASSUME_LWS_CAS): Define unconditionally. 2012-08-01 Joseph Myers * sysdeps/unix/sysv/linux/hppa/kernel-features.h (__ASSUME_FCNTL64): Remove. 2012-07-26 Andreas Jaeger * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLWAKEUP): Add new value. 2012-05-19 Carlos O'Donell * sysdeps/hppa/add_n.s: Rename this... * sysdeps/hppa/add_n.S: ... to this. * sysdeps/hppa/hppa1.1/addmul_1.s: Rename this... * sysdeps/hppa/hppa1.1/addmul_1.S: ... to this. * sysdeps/hppa/hppa1.1/mul_1.s: Rename this... * sysdeps/hppa/hppa1.1/mul_1.S ... to this. * sysdeps/hppa/hppa1.1/submul_1.s: Rename this... * sysdeps/hppa/hppa1.1/submul_1.S: ... to this. * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Rname this... * sysdeps/hppa/hppa1.1/udiv_qrnnd.S: ... to this. * sysdeps/hppa/lshift.s: Rename this... * sysdeps/hppa/lshift.S: ... to this. * sysdeps/hppa/rshift.s: Rename this... * sysdeps/hppa/rshift.S: ... to this. * sysdeps/hppa/sub_n.s: Rename this... * sysdeps/hppa/sub_n.S: ... to this. * sysdeps/hppa/udiv_qrnnd.s: Rename this... * sysdeps/hppa/udiv_qrnnd.S: ... to this. 2012-05-17 Siddhesh Poyarekar * sysdeps/hppa/libgcc_s.h: Remove. * sysdeps/hppa/shlib-versions: Add libgcc_s. 2012-04-17 Carlos O'Donell * sysdeps/hppa/dl-irel.h: New file. 2012-04-17 Carlos O'Donell * sysdeps/hppa/dl-fptr.h: Add prototype for _dl_fptr_init. * sysdeps/hppa/dl-fptr.c: New file. * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Call _dl_fptr_init. 2012-04-17 Carlos O'Donell * sysdeps/hppa/elf/configure: Removed file. * sysdeps/hppa/elf/configure.in: Move to... * sysdeps/hppa/configure.in: ... here. * sysdeps/hppa/configure: Regenerate. * sysdeps/hppa/elf/initfini.c: Removed file. * sysdeps/hppa/crti.S: New file. * sysdeps/hppa/crtn.S: New file. * sysdeps/hppa/elf/entry.h: Moved to ... * sysdeps/hppa/entry.h: ... here. * sysdeps/hppa/elf/start.S: Move to ... * sysdeps/hppa/start.S: ... here. 2012-03-22 Carlos O'Donell [BZ #6730] * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Don't negate %r21 and check for -EFAULT and -ENOSYS instead. 2012-03-09 Richard Henderson * sysdeps/hppa/hppa1.1/s_signbit.c: Use <> to include math_private.h. 2012-03-09 Paul Eggert [BZ #13673] Replace FSF snail mail address with URLs, as per GNU coding standards. 2012-03-03 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Name pthread_attr_t union. * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy. * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Likewise. 2012-01-08 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLONESHOT) (EPOLLET): Initialize with unsiged values. 2012-01-08 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy. 2012-01-08 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Use const instead of __const. * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Likewise. 2011-10-21 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Update copyright year. Do not include signal.h and sys/ucontext.h. 2011-10-20 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Update copyright year. (PSEUDO): Define __*_nocancel version. Add CFI directives to __*_nocancel and normal version. (PUSHARGS_1): Add CFI directive. (PUSHARGS_2): Likewise. (PUSHARGS_3): Likewise. (PUSHARGS_4): Likewise. (PUSHARGS_5): Likewise. (PUSHARGS_6): Likewise. (POPARGS_1): Likewise. (POPARGS_2): Likewise. (POPARGS_3): Likewise. (POPARGS_4): Likewise. (POPARGS_5): Likewise. (POPARGS_6): Likewise. 2011-10-20 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Remove. * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Remove. * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h: Remove. * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h: Remove. * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Remove. * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Remove. * sysdeps/hppa/linuxthreads/pspinlock.c: Remove. * sysdeps/hppa/linuxthreads/pt-machine.h: Remove. * sysdeps/hppa/linuxthreads/tls.h: Remove. 2011-10-20 Carlos O'Donell * sysdeps/hppa/stackinfo.h: Update copyright year. Include elf.h and define DEFAULT_STACK_PERMS. 2011-10-20 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Synchronize with canonical fcntl.h. 2011-10-20 Carlos O'Donell * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias. * sysdeps/hppa/fpu/feupdateenv.c: Likewise. * sysdeps/hppa/fpu/ftestexcept.c: Likewise. 2011-10-20 Carlos O'Donell * sysdeps/hppa/dl-tls.h: Update copyright year. Define TLS_DTV_UNALLOCATED. 2011-10-20 Carlos O'Donell * sysdeps/hppa/elf/configure.in: Always test for TLS support and error out if missing. * sysdeps/hppa/elf/configure: Regenerate. * sysdeps/hppa/configure: Regenerate. 2011-10-20 Carlos O'Donell * sysdeps/hppa/nptl/tls.h: Update copyright year. Remove HAVE_TLS_SUPPORT check. 2011-10-17 Guy Martin * sysdeps/unix/sysv/linux/hppa/sys/epoll.h Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition. * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition. * sysdeps/unix/sysv/linux/hppa/sys/inotify.h Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition. * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition. * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition. 2011-10-05 Andreas Schwab * sysdeps/hppa/dl-machine.h (elf_machine_rela) (elf_machine_lazy_rel): Add parameter skip_ifunc. 2010-06-24 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp from the stack frame on successfull return. 2010-06-23 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret): Document that this function is a non-standard calling ABI. Document register usage. (__getcontext): Use normal %sp without adjustment. Use named resgister %sp. * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE. Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS. (__makecontext): Create and setup a stack frame. * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Use named register %sp. Do not use oSS_SP. 2010-06-07 Andreas Schwab * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree with generic file. 2010-03-30 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define MSG_WAITFORONE. 2010-02-17 Matt Turner * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix SOCK_CLOEXEC to match O_CLOEXEC. 2010-02-02 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define MADV_MERGEABLE and MADV_UNMERGEABLE. 2010-02-02 Carlos O'Donell * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber link register r31. 2010-02-02 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext): Support more than 8 arguments. 2010-02-01 Kyle McMartin * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of SOCK_CLOEXEC to match O_CLOEXEC. 2010-02-01 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/Versions: Bump errlist-compat to 257 for GLIBC_2.12. * sysdeps/unix/sysv/linux/hppa/bits/errno.h (EOWNERDEAD): Define if not already defined. (ENOTRECOVERABLE): Likewise. (ERFKILL): Likewise. 2009-11-29 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Rearrange file to reduce future maintenance. [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX. Define f_owner_ex an __pid_type. 2009-11-25 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Use correct alignment for pthread_mutex_t, pthread_cond_t, and pthread_rwlock_t. 2009-11-22 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings by casting oldval to int. 2009-11-15 Carlos O'Donell [BZ #6676] * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here... * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here. 2009-11-15 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add fallocate64@@GLIBC_2.11. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX. [!__USE_FILE_OFFSET64]: Define fallocate. [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT. [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as fallocate64. [__USE_LARGEFILE64]: define fallocate64. 2009-11-15 Carlos O'Donell * sysdeps/hppa/dl-fptr.h: Update copyright year. Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64. Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads. 2009-11-15 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK. 2009-11-15 Carlos O'Donell Aurelian Jarno [BZ #10527] * sysdeps/unix/sysv/linux/hppa/socket.h: New file. 2009-11-15 Carlos O'Donell [BZ #6676] * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations to support -fPIE. 2009-11-08 Carlos O'Donell [BZ #10920] * sysdeps/hppa/libgcc_s.h: New file. * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove. * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove. 2009-09-08 Carlos O'Donell sysdeps/unix/sysv/linux/hppa/ * internaltypes.h: New file. sysdeps/unix/sysv/linux/hppa/nptl/ * pthreadP.h: New file. * pthread.h: New file. * pthread_cond_broadcast.c: New file. * pthread_cond_destroy.c: New file. * pthread_cond_init.c: New file. * pthread_cond_signal.c: New file. * pthread_cond_timedwait.c: New file. * pthread_cond_wait.c: New file. * bits/pthreadtypes.h: Make pthread_mutex_t, pthread_rwlock_t, and pthread_cond_t backwards compatible. 2009-04-24 Carlos O'Donell * sysdeps/hppa/hppa1.1/s_signbit.c: New file. 2009-04-23 Carlos O'Donell * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI, VALID_ELF_ABIVERSION, and VALID_ELF_HEADER. 2009-04-23 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include sysdep.h. Document the reason for other includes. 2009-04-23 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]: Include errno.h. 2009-02-25 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Adjust comment. Sort macros alphabetically. Remove old lock comments. 2009-02-25 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Update from nptl/sysdeps/pthread/unwind-forcedunwind.c * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Update from nptl/sysdeps/pthread/unwind-resume.c 2009-02-25 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME, and FUTEX_BITSET_MATCH_ANY. 2009-02-22 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket. 2009-02-22 Carlos O'Donell * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile. 2009-02-13 Khem Raj * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c (libgcc_s_handle): New variable. (pthread_cancel_init): Depend in libgcc_s_handle for decision to load DSO. Assign last. (__unwind_freeres): New function. 2009-02-09 Arthur Loiret [BZ #9717] * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. 2008-08-07 Helge Deller * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/hppa/Makefile: New file. * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file. * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file. * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file. * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file. 2008-06-17 Aurelian Jarno Carlos O'Donell [BZ #6037] * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11 (-EAGAIN) instead of 11. Loop again when the kernel returns -45 (-EDEADLOCK). Add back memory clobber. Do not initialize lws_ret and lws_errno. 2008-06-17 Guy Martin [BZ #5957] * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Use shared futex in lll_wait_tid(). 2008-05-12 Aurelien Jarno [BZ #6506] * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is read while writing back status word. 2008-04-21 Daniel Jacobowitz * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing shmid_ds. 2008-04-04 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove memory contraint and instead indicate that *mem is written to. 2008-03-24 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file. 2008-03-14 Carlos O'Donell Guy Martin [BZ #5923] * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass timespec and futexp. 2008-02-22 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/Makefile: Remove. * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV. 2007-12-05 Jeff Bailey * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (__lll_unlock): Use define instead of inline function. (__lll_robust_unlock): Likewise. 2007-10-22 Daniel Jacobowitz * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define. 2007-10-18 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c (__lll_lock_wait): Add private argument. Pass private to lll_futex_wait. Use atomic_compare_and_exchange_val_acq. (__lll_lock_wait_private): New function. (__lll_timedlock_wait): Add private argument. Pass private to lll_futex_timed_wait. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Include kernel-features.h and tls.h. (FUTEX_WAITERS): Define. (FUTEX_OWNER_DIED): Define. (FUTEX_TID_MASK): Define. (__lll_private_flag): Define. (lll_futex_timed_wait): Use __lll_private_flag. (lll_futex_wake): Use __lll_private_flag. (lll_futex_requeue): Use __lll_private_flag. (lll_robust_mutex_dead): Rename to... (lll_robust_dead): ... this. Add private argument. Pass private to lll_futex_wake. (lll_futex_wake_unlock): Use __lll_private_flag. (__lll_mutex_trylock): Remove. (lll_mutex_tryock): Remove. (__lll_robust_mutex_trylock): Rename to... (__lll_robust_trylock): ... this. (lll_robust_mutex_trylock): Rename to... (lll_robust_trylock): ... this. Call __lll_robust_trylock. (__lll_mutex_cond_trylock): Rename to... (__lll_cond_trylock): ... this. (lll_mutex_cond_trylock): Rename to... (lll_cond_trylock): ... this. Call __lll_cond_trylock. (__lll_mutex_lock): Add private argument. (__lll_robust_mutex_lock): Remove. (lll_mutex_lock): Define. (__lll_robust_lock): Define. (lll_robust_mutex_lock): Remove. (__lll_mutex_cond_lock): Remove. (lll_robust_lock) Define. (lll_robust_cond_lock): Define. (lll_robust_mutex_cond_lock): Remove. (__lll_cond_lock): Define. (lll_cond_lock): Define. (__lll_mutex_timedlock): Remove. (__lll_timedlock): Define. (lll_timedlock): Define. (lll_robust_mutex_timedlock): Remove. (lll_robust_timedlock): Define. (__lll_mutex_unlock): Remove. (__lll_unlock): Define. (__lll_robust_mutex_unlock): Remove. (__lll_robust_unlock): Define. (lll_robust_mutex_unlock): Remove. (lll_robust_unlock): Define. (__lll_mutex_unlock_force): Remove. (lll_mutex_unlock_force): Remove. (lll_islocked): Remove. (lll_mutex_islocked): Rename to... (lll_islocked): ... this. (lll_trylock): Remove. (lll_unlock): Remove. (lll_wait_tid): Format whitespace. (lll_cond_wait): Remove. (lll_cond_timedwait): Remove. (lll_cond_wake): Remove. (lll_cond_broadcast): Remove. 2007-10-17 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value type and __THROW marker of splice, vmsplice, and tee. 2007-09-24 Carlos O'Donell * sysdeps/hppa/nptl/tls.h: Fix comment. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format. [__USE_GNU] (O_CLOEXEC): Define. * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error if the library is unsupported. [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and __local_multiple_threads. 2007-08-03 Aurelien Jarno * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: (__local_multiple_threads): Declare as hidden only in libc and in libpthread. 2007-07-28 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 * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition. 2007-06-16 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-16 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-05-17 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h (SEM_VALUE_MAX): Remove. 2007-05-17 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-01 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h [__USE_XOPEN2K]: Define pthread_rwlock_t and pthread_rwlockattr_t. 2007-02-02 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define. (PTR_DEMANGLE): Define. 2007-02-02 Guy Martin * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile): Add cfi_endproc. 2006-12-03 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 * 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-10 Carlos O'Donell * sysdeps/hppa/nptl/pthread_spin_init.c: New file. * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias to pthread_spin_init. * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define RTLD_SINGLE_THREAD_P. 2006-09-20 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin and offout arguments to the prototype. 2006-09-15 Carlos O'Donell * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET. * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and restore r19 before call to _exit. * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file. 2006-09-13 Carlos O'Donell * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of _dl_fini_plabel. * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of __libc_start_main. Comment the order of arguments at entry and those to __libc_start_main. 2006-09-07 Carlos O'Donell * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove lvalue cast. * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage. (_dl_runtime_profile): LA fixups. * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return -1 on error. Use branch and link for error handler funciton. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage. Avoid register shuffling. * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define as -EAGAIN. * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to match required standards. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (lll_futex_wait): Return __ret. (lll_futex_timed_wait): Likewise. (lll_futex_wake): Likewise. (lll_futex_requeue): Likewise. * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack usage and adjust error return. * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust stack usage for gdb, and avoid extra register loads. * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy nptl/sysdeps/pthread/unwind-forcedunwind.c. (LIBGCC_SO): Define and use. * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy nptl/sysdeps/pthread/unwind-resume.c. (LIBGCC_SO): Define and use. 2006-08-13 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define. 2006-07-24 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T. 2006-07-18 Carlos O'Donell * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap newval and oldval. * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock): Likewise. 2006-07-16 Jeff Bailey * sysdeps/hppa/tst-audit.h: New file. 2006-07-16 Carlos O'Donell * sysdeps/hppa/tls-macros.h: Cleanup formatting. 2006-07-15 Jeff Bailey * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL. 2006-07-13 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/xstat.c: New file. * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise. 2006-07-13 Carlos O'Donell * sysdeps/hppa/nptl/Makefile: New file * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise * sysdeps/hppa/nptl/pthreaddef.h: Likewise * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise * sysdeps/hppa/nptl/tls.h: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise 2006-06-08 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry for up to 256 errnos 2006-06-08 Carlos O'Donell * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128. * sysdeps/unix/sysv/linux/hppa/kernel-features.h [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS. * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file. 2006-06-08 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT): Define. 2006-05-24 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest is a label. 2006-05-24 Carlos O'Donell * sysdeps/hppa/ldsodefs.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Only define MADV_* macros when __USE_BSD is present. (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define. 2006-05-15 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments required for NPTL. * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg syscall. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS into PSEUDO_*'s. (ENTRY_LEAF): Define. (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF. (DO_CALL): Create frame. 2006-05-15 Carlos O'Donell * sysdeps/hppa/dl-machine.h: Include tls.h (elf_machine_fixup_plt): Returns fdesc. (elf_machine_profile_fixup_plt): Remove. (elf_machine_plt_value): Returns fdesc. (elf_machine_runtime_setup): Check that dl_profile != NULL. (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define. (RTLD_START): Use iitlbp with sr0. (elf_machine_type_class): Include TLS relocs. (reassemble_21, reassemble_14): Define. (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R, TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support. (TRAMPOLINE_TEMPLATE): Move to ... * sysdeps/hppa/dl-trampoline.S: ... here. * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0. * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h. (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR, DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define. * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments. * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define. Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit. 2006-04-27 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and define vmsplice. 2006-04-21 Carlos O'Donell * sysdeps/hppa/dl-tls.h: New file * sysdeps/hppa/libc-tls.c: Likewise. * sysdeps/hppa/tls-macros.h: Likewise. * sysdeps/hppa/elf/configure: Likewise. * sysdeps/hppa/elf/configure.in: Likewise. 2006-04-20 Carlos O'Donell * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to align parameters. Specify memory clobbers. * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise. * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise. * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception register. Use memcpy to align buffer. * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload fr0. Use union to align parameters. * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise. * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save exception registers. Define libm_hidden_def. * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception registers. * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to align parameters, speficy memory clobbers. Define libm_hidde_def * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align parameters. Use memcpy to align buffer. * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise. * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise. * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise. * sysdeps/hppa/fpu/libm-test-ulps: Update. * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments. 2006-04-19 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]: Define MMAP_FIXED. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]: Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE, SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee. 2006-04-19 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file. 2006-04-19 Carlos O'Donell * sysdeps/hppa/linuxthreads/pspinlock.c: New file. * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise. * sysdeps/hppa/linuxthreads/tls.h: Likewise. * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise. * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h: Likewise. * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise. * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise. * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise. * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h: Likewise. 2006-02-28 Roland McGrath * sysdeps/hppa/shlib-versions: New file. * sysdeps/hppa/preconfigure: New file.