aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
AgeCommit message (Collapse)Author
2012-04-20Remove unused sysdeps/unix/{xstat,fxstat}.c.Joseph Myers
2012-04-20Remove unused sysdeps/unix/sysv/sigaction.c.Joseph Myers
2012-04-20Remove unused sysdeps/unix/sysv termio code.Joseph Myers
2012-04-20Remove unused sysdeps/unix/siglist.c.Joseph Myers
2012-04-20Remove unused sysdeps/unix/getppid.S.Joseph Myers
2012-04-20Remove unused sysdeps/unix/{mkdir.c,rmdir.c}.Joseph Myers
2012-04-19Fix computation of inflated errlist sizeAndreas Schwab
2012-04-13Fix variable check in sparc clock frequency probing.Antoine Balestrat
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2012-04-11Add __snseconds_t and __SNSECONDS_T_TYPEH.J. Lu
2012-03-30Comment fixes for mmsghdrUlrich Drepper
2012-03-27Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.Anton Blanchard
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and MAP_HUGETLB. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2012-03-27Merge branch 'elf-move'Andreas Jaeger
Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
2012-03-21Disable use of FMA instructions in branredAndreas Schwab
2012-03-21Check x86_64* instead of x86_64H.J. Lu
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu
2012-03-20Merge branch 'master' into elf-moveAndreas Jaeger
2012-03-20Remove unused start.c files.Andreas Jaeger
2012-03-19Add x32 support to ldd-rewrite.sedH.J. Lu
2012-03-19Remove common-objdir-compile and related sysdeps/unix/Makefile code.Joseph Myers
2012-03-17Add missing Versions entry for sparc's __getshmlba.David S. Miller
[BZ #6471] * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry for 2.16.
2012-03-16Fix warnings when uintptr_t is larger than int.David S. Miller
* sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid warnings.
2012-03-16Fix SHMLBA on sparc.David S. Miller
[BZ #6471] * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors properly. * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file. * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to sysdep_routines when subdir is sysvipc. * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new __getshmlba helper.
2012-03-16Use greg_t and uintptr_t in x86-64 __makecontextH.J. Lu
2012-03-16Add x32 support to ldconfigH.J. Lu
2012-03-14Install bits/syscall.h through install-headers.Joseph Myers
2012-03-13Use correct implementation for dl-fxstatat64 on sparc64.David S. Miller
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2012-03-13Fix warning in Linux openat implementation when __ASSUME_ATFCTS is set.David S. Miller
* sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall 'err' in the ifdef scope in which it is actually used.
2012-03-12Fix another instance of the _dl_random masking bug, plus coding style.David S. Miller
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix masking out of the most significant byte of random value used. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix coding style in previous change.
2012-03-12Add some missing sparc kernel-feature.h entries.David S. Miller
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later. (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify expression. (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and later.
2012-03-11Fix some 64-bit sparc build warnings.David S. Miller
* sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c (__makecontext): Fix signedness of pointer casts setting up 'sp'. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long' for 'resultvar' otherwise things get truncated on 64-bit.
2012-03-11Fix typing of the bit twiddling done in _dl_setup_stack_chk_guard.David S. Miller
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix masking out of the most significant byte of random value used.
2012-03-09Split enum __socket_type from bits/socket.h to bits/socket_type.h.Joseph Myers
2012-03-08Update copyright year after my most recent changes.David S. Miller
nptl/ * sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year. / * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update copyright year. * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2012-03-06Fix several build warnings on sparc.David S. Miller
/ * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (set_obp_int): New function. (get_obp_int): New function. (__get_clockfreq_via_dev_openprom): Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid unused variable warnings on 'val' and use builtin_expect. (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect. (INLINE_CLONE_SYSCALL): Likewise. nptl/ * sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use atomic_increment and remove unused local variable. (__old_sem_post): Likewise.
2012-03-05 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):H.J. Lu
Replace gettimeofday with __vdso_gettimeofday. * sysdeps/unix/sysv/linux/x86_64/init-first.c (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with __vdso_clock_gettime and __vdso_getcpu. * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace time with __vdso_time.
2012-03-052012-03-05 Tom de Vries <tom@codesourcery.com>Tom de Vries
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure default stack guard is set in last bytes. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2012-03-01Kill sparc32 specific __getpagesize, unneeded.David S. Miller
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2012-03-01Remove sparc binutils GOTDATA checks in lieu of new minimum version requirement.David S. Miller
* sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise. * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise. * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. * config.h.in (HAVE_BINUTILS_GOTDATA): Delete. * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks. * sysdeps/sparc/elf/configure: Regenerated.
2012-02-27Require Linux kernel headers from "make headers_install", >= 2.6.19.1.Joseph Myers
2012-02-26Fix name mangling of pthread_attr_t after changeUlrich Drepper
2012-02-26Add first fixes for conformtest for POSIX2008Ulrich Drepper
2012-02-26Work around problem of pthread_attr_t definition with old compilersUlrich Drepper
2012-02-26Fix up POSIX testing in conformtestUlrich Drepper
2012-02-20Tweak sparc32 longjmp to not store a dummy frame pointer onto the stack.David S. Miller
* sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path using a normal save/restore sequence, rather than allocating a dummy stack frame just to store a frame pointer and restore. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2012-02-20Explain why we don't make use of RDPC in the sparc PIC register setup.David S. Miller
* sysdeps/unix/sparc/sysdep.h: Document why we don't use "rd %pc" in the PIC register setup sequences.
2012-02-20Use sparc GOTDATA relocations whenever possible.David S. Miller
* sysdeps/sparc/crti.S: Try to use GOTDATA relocs. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (SYSCALL_ERROR_HANDLER): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (SYSCALL_ERROR_HANDLER): Likewise.
2012-02-21Split architecture-specific parts of sys/epoll.h into bits/epoll.h.Joseph Myers
2012-02-21Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.Joseph Myers
2012-02-19Add support for Linux error EHWPOISONAndreas Schwab
2012-02-18Rework sparc PIC macros so crt{i,n}.S can use them too.David S. Miller
* sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro. (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore %o7 across the call. (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro instead. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use SETUP_PIC_REG_LEAF. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. * sysdeps/sparc/crti.S: Use SETUP_PIC_REG. * sysdeps/sparc/crtn.S: Likewise.