summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/clone.S
Commit message (Collapse)AuthorAgeFilesLines
* whitespace fixesAustin Foxley2009-10-171-3/+3
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sh specific bits needed for nptlAustin Foxley2009-10-171-63/+72
| | | | | | | | | * unified atomic.h compare and exchange macros * clone.S with RESET_PID support * sh specific versions of pread/pwrite with cancellation support * check SHARED instead of PIC Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sh: Change __HAVE_SHARED__ to __PIC__Peter Griffin2009-07-091-2/+2
| | | | | | | | Generate PIC relocations when __PIC__ is defined rather than __HAVE_SHARED__ (like other architectures). Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Use gcc built-in defines for detecting SH cores instead ofCarmelo Amoroso2009-02-231-1/+1
| | | | | | | | | | | | | uclibc config option macros (aligning SH to all other archs). Changes applied as below: __CONFIG_SH4__ -> __SH4__ __CONFIG_SH2__ -> __sh2__ __CONFIG_SH2A__ -> __SH2A__ Note: pay attention to capital letters Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - use c89-style commentsBernhard Reutner-Fischer2008-10-031-3/+3
| | | | Closes issue #5194
* Fix PLTJMP() token pasting build error, patch fromPaul Mundt2007-03-071-1/+1
| | | | | Carmelo Amoroso <carmelo73@gmail.com>.
* fixup includes so we compile againMike Frysinger2007-02-041-3/+2
|
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-1/+1
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* Merge SH-2 trapa fixups from Mark.Paul Mundt2006-10-231-2/+4
| | | | | | | | | | | | | | | | | | | | 2006-10-16 Mark Shinwell <shinwell@codesourcery.com> * libc/sysdeps/linux/sh/vfork.S: Use __SH_SYSCALL_TRAP_BASE. Also use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/syscall.c: Use __SH_SYSCALL_TRAP_BASE. * libc/sysdeps/linux/sh/bits/uClibc_arch_features.h: Use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/bits/syscalls.h (__SH_SYSCALL_TRAP_BASE): New. Use instead of hard-coded trap numbers in the various __NR_<name> macros. * libc/sysdeps/linux/sh/clone.S: Use __SH_SYSCALL_TRAP_BASE. Also use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/crti.S: Disable GOT-related code if __HAVE_SHARED__ is not set. * libc/sysdeps/linux/sh/pipe.c (pipe): Use __SH_SYSCALL_TRAP_BASE.
* Remove HAVE_ELFPeter S. Mazinger2006-01-191-2/+2
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-8/+5
| | | | missing headers, other jump relocs removed
* Make clone use internal _exitPeter S. Mazinger2005-12-161-1/+1
|
* Stefan Allius writes:Eric Andersen2002-11-151-55/+33
| | | | | | | | | | | I attached a patch, which revise the clone.S and vfork.S: - Use PIC code. - include new file syscall.S, so we can simply make a branch to __syscall_error instead of a PLT/GOT call - call errno_location to store the syscall error (for pthreads) - avoid to use the 'shad' statement on SH2 targets - call fork if vfork isn't available - some cleanups and optimization
* I dunno why there were align 5, but align 4 is much more sensible.Eric Andersen2002-11-041-1/+1
|
* Kill sysdep.h and fixup the SH asm to not use it.Eric Andersen2002-11-041-8/+16
| | | | -Erik
* Don't use ENTRY(), make the asm explicitEric Andersen2002-11-041-1/+5
| | | | -Erik
* Patch from M. R. Brown <mrbrown@0xd6.org> to fix pthread supportEric Andersen2002-03-011-0/+137
for SH, and fix vfork