2013-01-31 Joseph Myers [BZ #13550] * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include and . (__semctl): Don't use CHECK_SEMCTL. 2013-01-29 Maciej W. Rozycki * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct whitespace damage throughout. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. 2013-01-25 Steve Ellcey * sysdeps/mips/memmove.c: Remove. 2013-01-10 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h (struct sigcontext): Use __extension__ with long long in all definitions. 2013-01-08 Steve Ellcey * sysdeps/mips/memcpy.S: Change prefetch hint, reorder partial loads and stores, set and use MAX_PREFETCH_SIZE. 2013-01-08 Andreas Jaeger [BZ# 14985] * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): Remove. 2013-01-02 Joseph Myers * All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. 2013-01-01 Joseph Myers * sysdeps/mips/bits/dlfcn.h: Reformat copyright notice. * sysdeps/mips/bits/mathdef.h: Likewise. * sysdeps/mips/bits/setjmp.h: Likewise. * sysdeps/mips/ieee754/ieee754.h: Likewise. * sysdeps/mips/machine-gmon.h: Likewise. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. * sysdeps/mips/mips64/setjmp.S: Likewise. * sysdeps/mips/start.S: Likewise. * sysdeps/unix/mips/mips64/n32/sysdep.h: Likewise. * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. 2012-12-04 Joseph Myers * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW): Define to set cw to 0, not just to plain "0" as a statement. [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather than doing nothing with cw. 2012-11-30 Joseph Myers * sysdeps/mips/mips32/libm-test-ulps: Update. * sysdeps/mips/mips64/libm-test-ulps: Likewise. 2012-11-29 Joseph Myers [BZ #14893] * sysdeps/mips/mips64/n32/_itoa.h: New file. * sysdeps/unix/sysv/linux/mips/register-dump.h: Include . (CTX_TYPE): New macro. (CTX_REG): Likewise. (CTX_PC): Likewise. (CTX_MDHI): Likewise. (CTX_MDLO): Likewise. (REG_HEX_SIZE): Likewise. (hexvalue): Take _ITOA_WORD_TYPE argument. (register_dump): Use these macros instead of hardcoding struct sigcontext * type and accesses and 8-byte textual output for registers. 2012-11-22 Joseph Myers [BZ #14822] * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (sendfile): New syscall entry. * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file. Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c. 2012-11-21 Joseph Myers * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to uintptr_t. * sysdeps/mips/sotruss-lib.c: New file. 2012-11-20 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (internal_syscall1): Use parentheses around macro arguments. (internal_syscall2): Likewise. (internal_syscall3): Likewise. (internal_syscall4): Likewise. (internal_syscall5): Likewise. (internal_syscall6): Likewise. (internal_syscall7): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (internal_syscall1): Likewise. (internal_syscall2): Likewise. (internal_syscall3): Likewise. (internal_syscall4): Likewise. (internal_syscall5): Likewise. (internal_syscall6): Likewise. * sysdeps/mips/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast _Unwind_GetCFA return to _Unwind_Ptr before casting to a pointer type. * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c (CHECK_SP): Cast ss_sp to long before casting to sp_type. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h [_MIPS_SIM == _ABIO32] (GET_PC): Cast to unsigned long before casting to a pointer type. [_MIPS_SIM == _ABIO32] (GET_FRAME): Likewise. [_MIPS_SIM == _ABIO32] (GET_STACK): Likewise. [_MIPS_SIM != _ABIO32] (GET_PC): Likewise. [_MIPS_SIM != _ABIO32] (GET_FRAME): Likewise. [_MIPS_SIM != _ABIO32] (GET_STACK): Likewise. * sysdeps/mips/bits/atomic.h [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_8_int): Separate assignments to __prev and __cmp. Cast __cmp to void. [!__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_xxx_16_int): Likewise. [!__GNUC_PREREQ (4, 8) && _MIPS_SIM == _ABIO32] (__arch_compare_and_exchange_xxx_64_int): Likewise. 2012-11-19 Joseph Myers * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Declare VERSION variable with __attribute__ ((unused)). * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)). (INTERNAL_SYSCALL_ERROR_P): Cast val to void. (INTERNAL_SYSCALL_ERRNO): Cast err to void. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)). (INTERNAL_SYSCALL_ERROR_P): Cast val to void. (INTERNAL_SYSCALL_ERRNO): Cast err to void. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)). (INTERNAL_SYSCALL_ERROR_P): Cast val to void. (INTERNAL_SYSCALL_ERRNO): Cast err to void. 2012-11-17 Joseph Myers * sysdeps/mips/bits/atomic.h (__arch_compare_and_exchange_bool_8_int): Mark __PREV variable with __attribute__ ((unused)). (__arch_compare_and_exchange_bool_16_int): Likewise. (__arch_compare_and_exchange_bool_32_int): Likewise. (__arch_compare_and_exchange_bool_64_int): Likewise. 2012-11-06 Maxim Kuvyrkov * sysdeps/mips/memmove.c: New file. Use memcpy for forward memmove. 2012-11-05 Joseph Myers * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_timed_wait_bitset): New macro. 2012-11-04 Thomas Schwinge * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Don't include . 2012-11-03 Joseph Myers * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add libm_hidden_def. [BZ #3439] * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer constant usable in #if and use that to give value to enum constant. (FE_UNDERFLOW): Likewise. (FE_OVERFLOW): Likewise. (FE_DIVBYZERO): Likewise. (FE_INVALID): Likewise. (FE_TONEAREST): Likewise. (FE_TOWARDZERO): Likewise. (FE_UPWARD): Likewise. (FE_DOWNWARD): Likewise. 2012-11-01 Thomas Schwinge * sysdeps/unix/sysv/linux/mips/configure: Regenerate. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist (GLIBC_2.17): Add clock_* symbols. 2012-10-31 Steve Ellcey * sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make it work in 32 or 64 bit modes. * sysdeps/mips/mips64/memcpy.S: Remove. 2012-10-30 Joseph Myers [BZ #14047] * sysdeps/mips/tininess.h: New file. 2012-10-29 Steve Ellcey * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make. (abi-variants): Add hard and soft float versions. (abi-o32-options): Remove. (abi-o32-condition): Remove. (abi-n32-options): Remove. (abi-n32-condition): Remove. (abi-n64-options): Remove. (abi-n64-condition): Remove. (abi-o32_soft-options): New. (abi-o32_soft-condition): New. (abi-o32_hard-options): New. (abi-o32_hard-condition): New. (abi-n32_soft-options): New. (abi-n32_soft-condition): New. (abi-n32_hard-options): New. (abi-n32_hard-condition): New. (abi-n64_soft-options): New. (abi-n64_soft-condition): New. (abi-n64_hard-options): New. (abi-n64_hard-condition): New. 2012-10-19 Roland McGrath * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist (GLIBC_2.17): Add clock_* symbols. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise. 2012-10-24 Andreas Jaeger * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all definitions and declarations that are provided by and include . 2012-10-03 Steve Ellcey * sysdeps/mips/ieee754.h: Move to... * sysdeps/mips/ieee754/ieee754.h: Here. * sysdeps/mips/mips32/Implies: Add mips/ieee754. * sysdeps/mips/mips64/Implies: Ditto. * sysdeps/mips/mips64/n32/Implies: Ditto. * sysdeps/mips/mips64/n64/Implies: Ditto. 2012-10-02 Siddhesh Poyarekar * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone flag name in comment to CLONE_CHILD_CLEARTID. 2012-09-28 Roland McGrath * sysdeps/mips/init-first.c: File removed. 2012-09-28 H.J. Lu * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed. 2012-08-27 Joseph Myers * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_STAT64_SYSCALL): Remove. 2012-08-27 Guido Guenther * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23. 2012-08-22 Joseph Myers * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM == _ABIO32] (__ASSUME_STAT64_SYSCALL): Define. * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file. Based on version from ../sysdeps/unix/sysv/linux/. * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise. 2012-08-16 Carlos O'Donell * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS) : struct La_mips_32_regs and struct La_mips_64_regs are not constant. 2012-08-15 Tom de Vries Maxim Kuvyrkov * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock) (__libc_lock_trylock): Define versions optimized for MIPS. 2012-08-15 Maxim Kuvyrkov * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version. * sysdeps/mips/nptl/pthread_spin_lock.c: New file. * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version. 2012-08-15 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2012-08-13 Maxim Kuvyrkov [__GNUC_PREREQ (4, 8)] (atomic_exchange_and_add): Split into ... (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these. New atomic macros. [!__GNUC_PREREQ (4, 8)] (atomic_exchange_and_add): Split into ... (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these. New atomic macros. 2012-08-09 Joseph Myers * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_UTIMES): Define. 2012-08-07 Joseph Myers * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel): Remove. * sysdeps/unix/sysv/linux/mips/configure: Regenerated. 2012-08-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_FCNTL64): Remove. 2012-08-01 Steve Ellcey * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 && _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 && _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like macro. (PREFX): Likewise. 2012-07-31 Joseph Myers * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove. * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file. * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise. 2012-07-27 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New. * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file. 2012-07-25 Florian Weimer * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add secure_getenv. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise. 2012-07-17 Joseph Myers * sysdeps/mips/configure.in: Remove TLS check. * sysdeps/mips/configure: Regenerated. * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New file. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data: Likewise. 2012-07-11 Tom de Vries Maxim Kuvyrkov * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)] (__arch_compare_and_exchange_bool_32_int) (__arch_compare_and_exchange_val_32_int) (__arch_compare_and_exchange_bool_64_int) (__arch_compare_and_exchange_val_64_int) Define in terms of __atomic_compare_exchange_n. [__GNUC_PREREQ (4, 8)] (__arch_exchange_32_int, __arch_exchange_64_int): Define in terms of __atomic_exchange_n. [__GNUC_PREREQ (4, 8)] (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int): Define in terms of __atomic_fetch_add. [!__GNUC_PREREQ (4, 8)]: Update formatting. 2012-07-06 Petar Jovanovic * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below the stack pointer. 2012-06-19 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update _gp_disp entry. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise. 2012-06-14 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (FORCE_FRAME_POINTER): Assign result of alloca to a volatile variable. 2012-06-01 Joseph Myers * sysdeps/mips/mips64/n32/s_fma.c: New file. * sysdeps/mips/mips64/n64/s_fma.c: Likewise. * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix typo. 2012-05-31 Joseph Myers * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps. * sysdeps/mips/mips32/libm-test-ulps: Regenerate. * sysdeps/mips/mips64/libm-test-ulps: Likewise. 2012-05-30 Joseph Myers * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI settings out of conditional. * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove __connect_internal alias. * sysdeps/mips/mips64/soft-fp/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Define. * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants): Rename to abi-variants. (syscall-list-includes): Rename to abi-includes. (syscall-list-o32-options): Rename to abi-o32-options. (syscall-list-o32-condition): Rename to abi-o32-condition. (syscall-list-n32-options): Rename to abi-n32-options. (syscall-list-n32-condition): Rename to abi-n32-condition. (syscall-list-n64-options): Rename to abi-n64-options. (syscall-list-n64-condition): Rename to abi-n64-condition. * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file. * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise. * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace _internal alias by hidden_def. 2012-05-26 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New file. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist: Likewise. 2012-05-25 Joseph Myers * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_32BITUIDS): Remove. 2012-05-23 Steve Ellcey * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-o32-options): Use -D_MIPS_SIM=1. (syscall-list-n32-options): Use -D_MIPS_SIM=2. (syscall-list-n64-options): Use -D_MIPS_SIM=3. 2012-05-23 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP): Define. (MADV_DODUMP): Likewise. 2012-05-21 Joseph Myers * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to __WORDSIZE_TIME64_COMPAT32. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update. 2012-05-19 Joseph Myers * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ... * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here. (kernel-features.h): Don't include. [__NR_ftruncate64]: Make code unconditional. [!__NR_ftruncate64]: Remove conditional code. [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ... * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here. (kernel-features.h): Don't include. [__NR_truncate64]: Make code unconditional. [!__NR_truncate64]: Remove conditional code. [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate): Add syscall. (truncate): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (ftruncate): Remove syscall. (truncate): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ... * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here. * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ... * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here. 2012-05-16 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat) [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with type unsigned long and names st_atimensec, st_mtimensec and st_ctimensec. (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise. 2012-05-14 Joseph Myers * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. [__ASSUME_PREAD_SYSCALL]: Make code unconditional. * sysdeps/unix/sysv/linux/mips/pread64.c [!__ASSUME_PREAD_SYSCALL]: Remove conditional code. [__ASSUME_PREAD_SYSCALL]: Make code unconditional. * sysdeps/unix/sysv/linux/mips/pwrite.c [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. * sysdeps/unix/sysv/linux/mips/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional. * sysdeps/unix/sysv/linux/mips/sigaction.c [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code. [__ASSUME_REALTIME_SIGNALS]: Make code unconditional. 2012-05-11 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2012-05-08 Joseph Myers * sysdeps/mips/fpu/libm-test-ulps: Move to ... * sysdeps/mips/mips32/libm-test-ulps: ... here. * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ... * sysdeps/mips/mips64/libm-test-ulps: ... here. * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file. 2012-05-01 Joseph Myers [BZ #14044] * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy from libc version and add symbol versions. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis (GLIBC_2.3.3): Add posix_fadvise64. 2012-04-28 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist: Likewise. * sysdeps/mips/mips64/memcpy.S: Don't include . Test __MIPSEB instead of __BYTE_ORDER. * sysdeps/mips/mips64/memset.S: Likewise. 2012-04-27 Joseph Myers * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel): Change to 2.6.12. * sysdeps/unix/sysv/linux/mips/configure: Regenerated. 2012-04-26 Joseph Myers * sysdeps/unix/mips/brk.S: Remove file. * sysdeps/unix/mips/dl-brk.S: Likewise. * sysdeps/unix/mips/sigreturn.S: Likewise. * sysdeps/unix/mips/wait.S: Likewise. 2012-04-26 Joseph Myers * sysdeps/mips/memcpy.S: Don't include . Test __MIPSEB instead of __BYTE_ORDER. * sysdeps/mips/memset.S: Likewise. * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct kernel_rt_sigframe): Use siginfo_t instead of struct siginfo. 2012-04-24 Joseph Myers * sysdeps/unix/mips/fork.S: Remove file. 2012-04-24 Mike Frysinger * sysdeps/unix/sysv/linux/mips/mips64/configure.in (ldd_rewrite_script): Change $dest to $dir. * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate. 2012-04-21 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include sysdeps/unix/sysv/linux/arm/readahead.c not sysdeps/unix/sysv/linux/arm/eabi/readahead.c. 2012-03-28 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define. (MAP_HUGETLB): Likewise. 2012-03-27 Joseph Myers * sysdeps/mips/elf/start.S: Moved to ... * sysdeps/mips/start.S: ...here. * sysdeps/mips/elf/configure.in: Moved to ... * sysdeps/mips/configure.in: ...here. Update comment. * sysdeps/mips/configure: New generated file. 2012-03-20 Joseph Myers * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h> instead of . 2012-03-10 Paul Eggert [BZ #13673] * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address with URL. 2012-03-09 Paul Eggert [BZ #13673] Replace FSF snail mail address with URLs, as per GNU coding standards. 2012-03-09 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove. 2012-02-27 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not declare recvmmsg and sendmmsg. 2012-02-27 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t): Change union tag to pthread_attr_t. Only define typedef if not already defined. * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h (pthread_attr_t): Change union tag to pthread_attr_t. Only define typedef if not already defined. 2012-02-26 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name siginfo_t struct. Add forward declaration of pthread_attr_t and use it in sigevent. * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name pthread_attr_t union. 2012-02-21 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file. * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove. * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise. 2012-02-20 Andreas Schwab * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if not defined. 2012-02-17 Aurelien Jarno * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4, matching the array in dl-procinfo.c. 2012-02-17 Aurelien Jarno * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests. * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise. * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise. 2012-02-15 Robert Millan [BZ #12301] * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__] [__PIC__] (SYSCALL_ERROR_LABEL): New macro. 2012-02-15 Robert Millan [BZ #12298] * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ... * sysdeps/mips/sys/tas.h: ... here. 2012-02-15 Robert Millan [BZ #12297] * sysdeps/mips/dl-machine.h: Fix a comment regarding __start. * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ... * sysdeps/unix/mips/entry.h: ... here. 2012-02-15 Robert Millan [BZ #12193] * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init): Define. * sysdeps/mips/dl-procinfo.c: New file. * sysdeps/mips/dl-procinfo.h: Likewise. 2012-02-15 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file. * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove. 2012-02-15 Viju Vincent * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking around calls to _dl_lookup_symbol_x. 2012-02-13 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file. * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove. 2012-02-13 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file. * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove. 2012-02-10 Joseph Myers * sysdeps/mips/mips32/crti.S: New file, based on compiler output for sysdeps/generic/initfini.c. * sysdeps/mips/mips32/crtn.S: Likewise. * sysdeps/mips/mips64/n32/crti.S: Likewise. * sysdeps/mips/mips64/n32/crtn.S: Likewise. * sysdeps/mips/mips64/n64/crti.S: Likewise. * sysdeps/mips/mips64/n64/crtn.S: Likewise. * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable. (CFLAGS-pt-initfini.s): Likewise. (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define variables. 2012-01-26 Joseph Myers * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. 2012-01-08 Joseph Myers * sysdeps/mips/bits/fenv.h: Use const instead of __const. * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise. 2012-01-07 Joseph Myers * sysdeps/mips/nptl/shlib-versions: New. 2012-01-07 Joseph Myers * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c. 2012-01-04 Tom de Vries * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with -fno-unwind-tables. 2012-01-03 Tom de Vries * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c. * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables. 2011-12-22 Joseph Myers * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h) (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d): Remove. (syscall-list-variants, syscall-list-includes) (syscall-list-o32-options, syscall-list-o32-condition) (syscall-list-n32-options, syscall-list-n32-condition) (syscall-list-n64-options, syscall-list-n64-condition): Define. * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate asm-unistd.h. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove. 2011-12-22 Joseph Myers [BZ #13538] * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT) (EPOLLET): Initialize with unsigned values. 2011-12-19 Joseph Myers * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h. 2011-11-17 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c, sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New. 2011-11-11 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2011-10-12 Joseph Myers * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias. * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias. * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias. 2011-10-05 Andreas Schwab * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela) (elf_machine_lazy_rel): Add parameter skip_ifunc. 2011-09-13 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast return value to (struct cmsghdr *). 2011-09-13 Joseph Myers * sysdeps/mips/elf/configure.in: Always test for TLS support and error out in case it is missing. * sysdeps/mips/elf/configure: Regenerate. * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT. 2011-09-11 Joseph Myers * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c, sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS. 2011-09-06 Joseph Myers [BZ #13109] * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs) (statfs): New. * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c, sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New. 2011-08-02 Matt Turner * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata. 2011-07-25 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC): Define. 2011-06-20 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c, sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New. 2011-06-20 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't mention raise in the comment. 2011-05-23 Aurelien Jarno * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME): Add. 2011-05-13 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2011-05-10 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2011-04-11 Joseph Myers * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define. 2011-04-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle to open_by_handle_at. 2011-04-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define. 2011-04-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct file_handle and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle. Augment a few comments. 2011-04-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make cancelable. * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark sync_file_range as cancellation point. * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark sync_file_range as cancellation point. 2011-04-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add sync_file_range. 2011-03-22 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2011-01-25 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE, MADV_NOHUGEPAGE): Define. 2011-01-25 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG, PF_CAIF, PF_ALG): Define. 2010-12-30 Joseph Myers * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if NO_CTORS_DTORS_SECTIONS is defined. * sysdeps/mach/hurd/mips/init-first.c: Likewise. 2010-12-21 Joseph Myers * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X. 2010-12-06 Matt Turner * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file. 2010-12-06 Joseph Myers * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel): Change to 2.4.1. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. 2010-10-21 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list, sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list, sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries for fanotify_mark. 2010-10-11 Joseph Myers * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def. * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise. 2010-08-13 Joseph Myers * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35. 2010-08-13 Chandrakala Chavva * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in jump delay slot. * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto. 2010-08-13 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define. 2010-08-12 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs, struct statfs64): Add f_flags field. 2010-08-12 Joseph Myers * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK): Define. 2010-08-12 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit and prlimit64. * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list, sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files. * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for prlimit64 syscall. 2010-06-14 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ, F_GETPIPE_SZ): Define. 2010-05-21 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c, sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New. 2010-04-14 Joseph Myers * sysdeps/unix/sysv/linux/mips/libc-abis: New. 2010-04-06 Joseph Myers * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION, VALID_ELF_OSABI, VALID_ELF_HEADER): Remove. * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION): Define. 2010-03-30 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define MSG_WAITFORONE. 2010-03-24 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2010-03-23 Mischa Jonker [BZ #11291] * sysdeps/mips/bits/atomic.h (__arch_compare_and_exchange_xxx_32_int, __arch_compare_and_exchange_xxx_64_int, __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int, __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int): Specify *mem as asm output as well as input. 2010-02-10 Joseph Myers * sysdeps/mips/fpu/fegetenv.c: Add hidden alias. 2010-01-28 Joseph Myers * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve, _dl_runtime_pltresolve): Calculate offset from start of function to .cpload instead of hardcoding instruction size. 2010-01-11 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion problem. 2010-01-11 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8. 2010-01-10 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for XPG7. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from fcntl.h. 2009-12-16 Joseph Myers [BZ #11093] * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM, POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008. 2009-12-16 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2009-12-15 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels. 2009-12-09 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and declare recvmmsg. 2009-12-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (posix_fadvise): Remove. * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c, sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c, sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New. 2009-12-01 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. 2009-11-23 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec for timestamps also if __USE_XOPEN2K8. 2009-11-19 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol F_OWNER_PGRP and mark F_OWNER_GID obsolete. 2009-11-18 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading names of parameters of sync_file_range. 2009-11-17 Joseph Myers [BZ #10972] * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_* constants from recent kernels. 2009-11-17 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if not already defined. 2009-11-14 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX, F_GETOWN_EX): Update values. 2009-11-06 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types of last two arguments when -D_FILE_OFFSET_BITS=64. 2009-10-29 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and f_owner_ex. 2009-10-03 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX and F_GETOWN_EX. 2009-09-25 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (__SYSCALL_CLOBBERS): Add "hi" and "lo". * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (__SYSCALL_CLOBBERS): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (__SYSCALL_CLOBBERS): Likewise. 2009-08-05 Joseph Myers * sysdeps/mips/____longjmp_chk.c: Remove. Replaced by.... * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This. New file. * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register variable for env. Use expansion of CHECK_SP macro for check. * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise. 2009-08-03 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/accept4.c, sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New. 2009-07-20 Aurelien Jarno * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4. 2009-07-17 Joseph Myers * sysdeps/mips/do-lookup.h: Remove. * sysdeps/mips/dl-lookup.c: Update from generic version, with non-PIC handling integrated. 2009-06-18 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154 and AF_IEEE802154. 2009-05-16 Joseph Myers * sysdeps/mips/____longjmp_chk.c: New file. * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it. Don't undefine __longjmp. * sysdeps/mips64/__longjmp.c: Likewise. 2009-05-16 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c, sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c, sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c, sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New. 2009-05-16 Joseph Myers * sysdeps/unix/sysv/linux/mips/Versions (libc): Add fallocate64@@GLIBC_2.11. 2009-05-14 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c, sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files. 2009-04-18 Maciej W. Rozycki * sysdeps/unix/sysv/linux/mips/getcontext.S: New file. * sysdeps/unix/sysv/linux/mips/makecontext.S: New file. * sysdeps/unix/sysv/linux/mips/setcontext.S: New file. * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update comment. * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file. * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers): Add ucontext_i.sym. 2009-04-18 Joseph Myers * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV, __ASSUME_PWRITEV): Don't define here. 2009-04-15 Maciej W. Rozycki * sysdeps/mips/sys/fpregdef.h: Update for new ABIs. 2009-04-09 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol numbers. * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE): Define. * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for preadv and pwritev. 2009-03-18 Maciej W. Rozycki * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file): Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags. 2009-03-18 Zhang Le [BZ #7074] * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file): Fix the condition used to annotate n32 objects. 2009-03-17 Joseph Myers * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER): Change parameters and use next_line. 2009-03-17 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. 2009-03-15 Joseph Myers * sysdeps/mips/bits/link.h: Uglify function parameter names. * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. 2009-03-03 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare fallocate{,64}. 2009-02-26 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and UTIME_OMIT only with __USE_ATFILE. 2009-02-13 Joseph Myers [BZ #7040] * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of inotify_rm_watch should have type int. 2009-02-02 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define. 2009-01-27 Maciej W. Rozycki Atsushi Nemoto PR glibc/1048 * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support variable page size for MIPS. * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise. * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf. * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init. 2009-01-12 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum __rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. 2009-01-12 Joseph Myers * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY. 2008-12-19 Joseph Myers * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c, sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c, sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c, sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New. 2008-12-09 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS): Make available only for __USE_GNU. 2008-12-03 Joseph Myers * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET. 2008-11-25 Joseph Myers * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix __THROW vs. __nonnull order for C++. 2008-10-15 Daniel Jacobowitz * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine. * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine. 2008-10-01 Mark Shinwell Daniel Jacobowitz Richard Sandiford * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine. * sysdeps/mips/dl-lookup.c: New. * sysdeps/mips/do-lookup.h: New. * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove definition. (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define if needed. (ELF_MACHINE_JMP_SLOT): Alter definition and update comment. (elf_machine_type_class): Likewise. (ELF_MACHINE_PLT_REL): Define. (elf_machine_fixup_plt): New. (elf_machine_plt_value): New. (elf_machine_reloc): Handle jump slot and copy relocations. (elf_machine_lazy_rel): Point relocation place at PLT if required. (RESOLVE_GOTSYM): Take a relocation type argument. (elf_machine_got_rel): Bind lazy stubs directly to their target if !lazy. Skip lazy binding for PLT symbols. (elf_machine_runtime_setup): Fill in .got.plt header. * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro. (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS, ELF_DL_PLT_RESTORE_ARG_REGS): Define. (_dl_runtime_pltresolve): New. * sysdeps/mips/bits/linkmap.h: New file. * sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and 64-bit versions. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL): Delete definition. * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD, PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define. (PSEUDO): Use them. Move outside __PIC__. (PSEUDO_JMP): New. (CENABLE, CDISABLE): Use it. 2008-08-19 Joseph Myers * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2 to epoll_create1. 2008-08-19 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC, SOCK_NONBLOCK, PF_ISDN and AF_ISDN. * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file. 2008-08-19 Joseph Myers * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms volatile. 2008-07-18 Joseph Myers * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure type. 2008-05-21 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace. (SOCK_DCCP): Define. 2008-05-01 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define RUSAGE_THREAD and RUSAGE_LWP. 2008-04-21 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing shmid_ds. 2008-04-21 Khem Raj * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file. 2008-04-02 Aurelien Jarno * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add truncate and ftruncate systems calls. * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an empty file. * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto. 2008-03-28 Joseph Myers * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine ARG_MAX if has defined it. 2008-03-28 Robin Randhawa * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory barriers to enforce strict ordering on weakly ordered systems. 2008-03-26 David Stephenson Daniel Jacobowitz * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t. * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise. * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise. 2008-03-09 Andreas Jaeger [BZ #5753] * sysdeps/mips/ieee754.h: Use protected namespace __BIG_ENDIAN/__LITTLE_ENDIAN. Patch by Aurelien Jarno . 2008-03-04 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo): Reorganize to match other architectures. Replace _timer._timer1 and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and _timer.si_sigval. Correct the type of _sigpoll.si_band. (si_timerid, si_overrun): Define. (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64. (__pthread_attr_s): Remove declaration. (struct sigevent): Remove XXX. Add _tid. 2007-10-22 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define. 2007-09-25 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value type and __THROW marker of splice, vmsplice, and tee. 2007-09-12 Joseph Myers * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass LLL_PRIVATE argument to lll_futex_wake. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define. * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update comment. (PF_IUCV, PF_RXRPC): Define. (PF_MAX): Update. (AF_IUCV, AF_RXRPC): Define. (MSG_CMSG_CLOEXEC): Define. (_EXTERN_INLINE): Define to __extern_inline. * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW, UTIME_OMIT): Define. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include . * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all lll_mutex_* resp. lll_robust_mutex_* macros to lll_* resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to LLL_LOCK_*. Include . (LLL_LOCK_INITIALIZER): Remove duplicate definition. (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define. * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to lll_futex_wait. (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take private arguments. (__lll_robust_trylock): Convert to macro. (__lll_robust_lock_wait): Add private argument. (__lll_lock_wait_private, __lll_lock_wait): Declare. (__lll_lock): Convert to macro. Take private argument. (__lll_cond_lock): Likewise. (lll_lock, lll_cond_lock): Take private arguments. (__lll_robust_lock): Take private argument. Convert to macro. (lll_robust_lock, __lll_cond_lock, lll_cond_lock, lll_robust_cond_lock): Take private arguments. (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private arguments. (__lll_timedlock, __lll_robust_timedlock): Take private arguments. (lll_timedlock, lll_robust_timedlock): Take private arguments. (__lll_unlock, __lll_robust_unlock): Convert to macros. Take private arguments. (lll_unlock, lll_robust_unlock): Take private arguments. (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t, lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove. (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait. (__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. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define to __extern_inline. 2007-08-06 Maciej W. Rozycki * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID): New macros for the (n)64 and n32 ABIs. (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been. 2007-07-13 Carlos O'Donell * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]: Define __WORDSIZE_COMPAT32 as 1. 2007-07-13 Joseph Myers * 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-10 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix. * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX): Delete. 2007-06-07 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New. (internal_syscall1, internal_syscall2, internal_syscall3, internal_syscall4, internal_syscall5, internal_syscall6): Use it. 2007-06-06 Daniel Jacobowitz * 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 . (pthread_rwlock_t): Shrink __flags and add __shared. 2007-05-24 Atsushi Nemoto * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c (posix_fadvise): Fix high word of len argument. 2007-05-23 Atsushi Nemoto * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file. * 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 Joseph Myers * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp. * 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 and . Use hardware exception and rounding mode settings. 2007-05-23 Richard Sandiford * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of r_info argument to ElfW(Addr). 2007-02-01 Joseph Myers * sysdeps/mips/bits/mathdef.h (float_t): Change to float. 2007-01-25 Atsushi Nemoto Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl, 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 Daniel Jacobowitz * 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 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h (cfi_same_value): Delete definition. 2007-01-08 Richard Sandiford * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete. (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 Daniel Jacobowitz * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct multiple inclusion guard. * sysdeps/mips/elf/ldsodefs.h: Delete file. 2007-01-04 Thiemo Seufer * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update to match the kernel. 2006-10-31 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise. 2006-10-31 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update prototype. 2006-09-22 Richard Sandiford * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT code. (__xstat_conv): Use memset to clear padding arrays. Check for overflow. (__xstat64_conv): Use memset to clear padding arrays. (__xstat32_conv): New function. * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise. 2006-09-21 Joseph Myers * sysdeps/mips/fpu_control.h: If soft-float, don't use floating-point registers. * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c, sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c: Likewise. 2006-08-04 Joseph Myers * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define. 2006-07-24 Joseph Myers * sysdeps/mips/mips64/n32/libm-test-ulps, sysdeps/mips/mips64/n64/libm-test-ulps: New. 2006-07-24 Joseph Myers * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is defined, include the named file. 2006-06-08 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat. (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT): Define. 2006-06-02 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY, RLIM64_INFINITY): Define appropriately for N64. Use unsigned types. 2006-06-02 Joseph Myers * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat): Don't use struct timespec. * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv, __xstat64_conv): Copy individual timespec fields. 2006-06-02 Richard Sandiford * sysdeps/mips/Makefile (ASFLAGS-.os): Define. 2006-06-02 Joseph Myers * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def. * sysdeps/mips/fpu/fesetround.c: Likewise. 2006-05-10 Richard Sandiford Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't dump sc_cause, sc_status or sc_badvaddr. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update structure definitions after DSP kernel changes. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update after the same DSP changes. 2006-05-08 Richard Sandiford * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add st_atim, st_mtim and st_ctim interface. (struct stat64): Likewise. * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat): Replace st_atime and its padding field with st_atim. Likewise st_mtime/st_mtim and st_ctime/st_ctim. * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update after above changes. (__xstat64_conv): Likewise. 2006-05-08 Richard Sandiford * sysdeps/mips/ldsodefs.h: New file. * sysdeps/mips/tst-audit.h: New file. 2006-05-05 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes for consistency with other ports. (MADV_REMOVE): Correct value. (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL, POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED, POSIX_MADV_DONTNEED): Define. 2006-05-05 Lior Balkohen * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE and SYNC_FILE_RANGE_WAIT_AFTER. Declare sync_file_range, vmsplice, splice and tee. 2006-03-27 Lior Balkohen * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead prototype. 2006-03-27 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP): Define. 2006-03-27 Denis Barbier * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix typo. 2006-03-11 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to i386/fork.c. 2006-03-11 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir, libc_cv_localedir, libdir, arch_minimum_kernel, and libc_cv_gcc_unwind_find_fde. * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file. * sysdeps/unix/sysv/linux/mips/configure: Regenerated. * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated. 2006-03-02 Lior Balkohen * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h (__pthread_list_t, __pthread_slist_t): New typedefs. (pthread_mutex_t): Replace __next and __prev fields with __list. * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock): Define. (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock, lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock, lll_robust_mutex_unlock): New macros. (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes. * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to vfork.S. * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise. 2006-03-02 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file. * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file. 2006-03-02 Daniel Jacobowitz * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (INTERNAL_SYSCALL): Update internal_syscall##nr invocation. (INTERNAL_SYSCALL_NCS): New. (internal_syscall0, internal_syscall1, internal_syscall2, internal_syscall3, internal_syscall4, internal_syscall5, internal_syscall6): Take ncs_init, cs_init, and input arguments. Use them. Correct types for registers. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (INTERNAL_SYSCALL): Update internal_syscall##nr invocation. (INTERNAL_SYSCALL_NCS): New. (internal_syscall0, internal_syscall1, internal_syscall2, internal_syscall3, internal_syscall4, internal_syscall5, internal_syscall6): Take ncs_init, cs_init, and input arguments. Use them. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove recvfrom and sendto. Mark lseek, msgrcv, and msgsnd as cancellation points. * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value". Use Elf(Addr) for TLS relocation targets. * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file. * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast futexp to long for n64. * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file. 2006-02-20 Roland McGrath * sysdeps/mips/shlib-versions: New file. * sysdeps/mips/preconfigure: New file. * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.