about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
Commit message (Collapse)AuthorAgeFilesLines
...
* tile: move sysdeps/unix/sysv/linux/tile nptl files.Chris Metcalf2014-06-1053-269/+5
|
* hppa: Remove lowlevellock.c.Bernard Ogden2014-06-091-126/+0
| | | | | | The hppa port has no need of a custom lowlevellock.c, it should use the generic version which is updated and correct. This similarly fixes bug 15119 for hppa.
* m68k: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-091-24/+0
|
* HPPA: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-091-22/+0
|
* MIPS: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-091-23/+0
|
* ARM: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-091-22/+0
|
* Start cleaning up TLS initial value for pthread_create.Roland McGrath2014-06-091-48/+0
|
* Fix memory overrun in getifaddrs_internal. Fixes bug 15698.Ondřej Bílka2014-06-051-2/+2
|
* aarch64: Remove nptl/vfork.SRichard Henderson2014-06-031-37/+0
|
* aarch64: Consolidate NPTL/non versions of vforkRichard Henderson2014-06-033-44/+74
| | | | | At the same time, incorporate the 0 -> 0x80000000 mapping of the pid expected by raise.c.
* aarch64: Consolidate NPTL/non versions of cloneRichard Henderson2014-06-032-53/+24
| | | | | | At the same time, rely on non-clobbered registers across syscall so that we eliminate the stack frame that we previously ignored in the unwind info.
* SH: Consolidate NPTL/non versions of vforkRoland McGrath2014-06-022-29/+33
|
* aarch64: Remove PSEUDO_RETRichard Henderson2014-05-301-20/+3
|
* aarch64: Fix error return from __ioctlRichard Henderson2014-05-301-6/+7
| | | | | Forgotten in ca3cfa40c16ef34c74951a07a57cfcbcd58898b1 where the error branch was moved from PSEUDO_RET.
* m68k: Convert fork.c to arch-fork.hRoland McGrath2014-05-301-3/+2
|
* aarch64: Rely on syscalls preserving registersRichard Henderson2014-05-291-24/+12
| | | | | | | | In several cases we've had asm routines rely on syscalls not clobbering call-clobbered registers, and that's now deemed ABI. So take advantage of this in the INLINE_SYSCALL path as well. Shrinks libc.so by about 1k.
* aarch64: Use tpidr_el0 rather than __errno_location in librtRichard Henderson2014-05-292-15/+5
|
* aarch64: Use tpidr_el0 rather than __read_tp in librtRichard Henderson2014-05-291-11/+3
|
* aarch64: Improve syscall-cancel stack frameRichard Henderson2014-05-291-86/+26
| | | | One push instead of N; use stp/ldp to halve the insns.
* aarch64: Pass regno parameter to SINGLE_THREAD_PRichard Henderson2014-05-291-10/+8
| | | | Use cbz instead of cmp+b.eq.
* aarch64: Share code in syscall-cancel.hRichard Henderson2014-05-291-14/+14
| | | | Fold nocancel and error handling paths.
* aarch64: Tabify sysdep-cancel.hRichard Henderson2014-05-291-51/+51
|
* Avoid stat/fstat in statvfs/fstatvfs (BZ #15132)Eric Wong2014-05-295-27/+18
| | | | | Delay the use of stat/fstat until stat data is required. When the kernel returns ST_VALID, stat data is not used by __internal_statvfs.
* SH: Consolidate NPTL/non versions of cloneRoland McGrath2014-05-281-6/+1
|
* tile: Convert fork.c to arch-fork.hRoland McGrath2014-05-281-4/+2
|
* IA64: Convert fork.c to arch-fork.hRoland McGrath2014-05-271-0/+29
|
* SH: Convert fork.c to arch-fork.hRoland McGrath2014-05-271-0/+28
|
* PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files.Adhemerval Zanella2014-05-2613-0/+944
|
* PowerPC: Move NPTL ABI headers to sysdeps.Adhemerval Zanella2014-05-262-0/+266
|
* PowerPC: Move powerpc64 timer_*.c out of nptl/Adhemerval Zanella2014-05-266-0/+13
|
* PowerPC: Consolidate NPTL/non versions of cloneAdhemerval Zanella2014-05-262-27/+2
|
* PowerPC: Consolidate NPTL/non versions of vforkAdhemerval Zanella2014-05-262-0/+59
|
* arm,aarch64: Remove SINGLE_THREAD_P_PICRichard Henderson2014-05-252-2/+0
| | | | | | | | | | This macro was removed by 2005-11-16 Daniel Jacobowitz <dan@codesourcery.com> but not applied to the (still separate) eabi port so necro'd when the eabi port superceded the old abi. It was thence copied into the new AArch64 port.
* aarch64: Tidy syscall error checkRichard Henderson2014-05-252-10/+13
| | | | | Move the error branch from the PSEUDO_RET macro to the PSEUDO macro. This is in line with other architectures, and will enable further improvments.
* aarch64: Remove DOARGS/UNDOARGS macrosRichard Henderson2014-05-252-24/+1
| | | | While they do something for AArch32, they're useless for AArch64.
* aarch64: Fix DO_CALL block commentRichard Henderson2014-05-251-1/+1
|
* alpha: Do non-default symbols in pt-vfork.SRichard Henderson2014-05-252-6/+14
|
* alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/Richard Henderson2014-05-2332-15/+16
|
* alpha: Consolidate NPTL/non versions of vforkRichard Henderson2014-05-234-59/+62
|
* alpha: Merge standard and nptl clone.SRichard Henderson2014-05-232-15/+3
|
* alpha: Remove nptl/fork.cRichard Henderson2014-05-231-29/+0
| | | | | The merge at ab21431318d99c94e644606dee1e6a4545d98007 failed to properly remove the file.
* AArch64: Convert fork.c to arch-fork.hRoland McGrath2014-05-211-4/+2
|
* aarch64: Merge __local_multiple_threads offset with memory referenceRichard Henderson2014-05-211-5/+4
| | | | | | This also highlights that we'd been loading 64-bits instead of the proper 32-bits. Caught by the linker as a relocation error, since the variable happened to be unaligned for 64-bits.
* aarch64: Merge rtld_errno offset with memory referenceRichard Henderson2014-05-211-2/+1
|
* Fix ARM build with GCC trunk.Joseph Myers2014-05-202-2/+4
| | | | | | | | | | | | | | | | sysdeps/unix/sysv/linux/arm/unwind-resume.c and sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c have static variables that are written in C code but only read from toplevel asms. Current GCC trunk now optimizes away such apparently write-only static variables, so causing a build failure. This patch marks those variables with __attribute_used__ to avoid that optimization. Tested that this fixes the build for ARM. * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c (libgcc_s_resume): Use __attribute_used__. * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume): Likewise.
* alpha: fix sa_flags type (BZ 16967)Richard Henderson2014-05-201-1/+1
|
* alpha: Remove bits/siginfo.h (BZ 16966)Richard Henderson2014-05-201-333/+0
| | | | | | Using the default header instead. This matches the kernel, which also uses the generic header. Fixes the sys/wait.h conform issue, where si_band had the wrong type.
* AArch64: Fix handling of nocancel syscall failuresWill Newton2014-05-201-0/+1
| | | | | | | | | | | | | | The current code for nocancel syscalls does not do a comparison of the system call return value. This leads to code being generated where the b.cs follows the svc instruction directly without setting the flags on which the branch depends. ChangeLog: 2014-05-20 Will Newton <will.newton@linaro.org> * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO): Test the return value of the system call in the nocancel case.
* AArch64: Remove asm/ptrace.h inclusion in sys/user.h and sys/procfs.hYvan Roux2014-05-202-21/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes an issue observed by the Xen project, where including signal.h exposes various PSR_MODE #defines. This is due to the usage in sys/user.h and sys/procfs.h of the struct user_pt_regs and user_fpsimd_state included via asm/ptrace.h. The namespace pollution this inclusion introduce is already partially fixed with some #undef of the PTRACE_* symbols, but other symbols like the PSR_MODE ones are still present, and undefining them is not safe since a user can include ptrace.h before user.h. My proposition is to define the 2 structures we need in user.h and get rid of the asm/ptrace.h inclusion. Build and make check are clean on AArch64. 2014-05-20 Will Newton <will.newton@linaro.org> Yvan Roux <yvan.roux@linaro.org> * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused #include of asm/ptrace.h. (PTRACE_GET_THREAD_AREA): Remove #undef. (PTRACE_GETHBPREGS): Likewise. (PTRACE_SETHBPREGS): Likewise. (struct user_regs_struct): New structure. (struct user_fpsimd_struct): New structure. * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused #include of asm/ptrace.h and second #include of sys/user.h. (PTRACE_GET_THREAD_AREA): Remove #undef. (PTRACE_GETHBPREGS): Likewise. (PTRACE_SETHBPREGS): Likewise. (ELF_NGREG): Use new struct user_regs_struct. (elf_fpregset_t): Use new struct user_fpsimd_struct.
* alpha: Create __syscall_nocancel entry pointsRichard Henderson2014-05-172-21/+16
|