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.