summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh
Commit message (Collapse)AuthorAgeFilesLines
...
* Add INTERNAL_SYSCALL macros for shCarmelo Amoroso2008-09-161-0/+145
|
* - add sync_file_range()Bernhard Reutner-Fischer2008-09-161-4/+0
| | | | Tested successfully on i386..
* Follow sh asm convention to indent the instruction into the delay slot.Carmelo Amoroso2008-09-041-2/+2
| | | | (glibc community refused to apply a my patch for this :-) )
* Kill off the GOT lookup for init/fini in the sh crti.S. This wasPaul Mundt2008-09-041-23/+0
| | | | | | | | inversely conditional on __HAVE_SHARED__, which has been broken since the time it was copied in originally. The compiler properly generates the GOT references on its own, negating the entire purpose for the init/fini reference.
* Fix SH ldso sequence startup.Carmelo Amoroso2008-08-081-2/+8
| | | | | | | | | | | | | | | | | | Pass via r4 the rtld finalizer _dl_fini to the user application. This will be the 6^ arg of __uClibc_main and will be registered with 'atexit'. In this way the dynamic linker will be able to call destructors defined within the loaded DSOs. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Add missing 7th arg "stack_end". add comment of undocumented usage of r4. fix comment of expected __uClibc_main() prototype. Signed-off-by: Yoshii Takashi <yoshii.takashi@renesas.com> Acked-by: Paul Mundt <lethal@linux-sh.org>
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-232-4/+4
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-2/+2
|
* - fix asm and volatile keywordsBernhard Reutner-Fischer2008-07-231-21/+21
|
* sh4 don't need to cope with older RLIMIT implementation.Carmelo Amoroso2008-07-081-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - add missing #endifBernhard Reutner-Fischer2008-05-031-0/+1
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-12/+27
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt2008-01-171-3/+0
| | | | | | | | | | | | | a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-081-1/+1
| | | | doing double negatives
* whitespace only: touchups from Hans-Christian EgtvedtMike Frysinger2008-01-051-2/+2
|
* Carmelo AMOROSO <carmelo.amoroso@st.com> writes:Joakim Tjernlund2007-06-131-2/+14
| | | | | | | | Hi All, this patch fixes a mismatch in ucontext struct between uClibc and kernel. In this way a signal handler installed by sigaction can access to the whole machine state correctly. This can be applied both to trunk and nptl branch
* Carmelo AMOROSO writes:Mike Frysinger2007-04-301-2/+2
| | | | | | | running LTP test suite on uClibc-nptl for sh4 I found a bug into pread and pwrite functions. When the offset is negative it is not correctly handled due to a missing shift operation, so it is passed to the syscall as the highest unsigned positive value.
* fixes from Carmelo AMOROSO to depend less on kernel headersMike Frysinger2007-04-021-1/+10
|
* dont include asm/user.hMike Frysinger2007-03-141-3/+53
|
* Sync sh's procfs.h with glibc, fixes gdbserver.Paul Mundt2007-03-071-2/+2
| | | | | Patch from Carmelo Amoroso <carmelo73@gmail.com>.
* Fix PLTJMP() token pasting build error, patch fromPaul Mundt2007-03-071-1/+1
| | | | | Carmelo Amoroso <carmelo73@gmail.com>.
* sh crti.S needs features.h to resolve __HAVE_SHARED__, trivial patchPaul Mundt2007-02-071-0/+2
| | | | | from Carmelo Amoroso <carmelo73@gmail.com>.
* fixup includes so we compile againMike Frysinger2007-02-042-6/+4
|
* fix compiling and touchup styleMike Frysinger2007-02-041-14/+16
|
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-084-8/+3
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-0/+4
| | | | minor include file issues
* Merge SH-2 trapa fixups from Mark.Paul Mundt2006-10-238-42/+61
| | | | | | | | | | | | | | | | | | | | 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.
* Bump SHMLBA up to a sensible size for dcache alias avoidance to coincide withPaul Mundt2006-08-251-0/+109
| | | | | | | the kernel's get_unmapped_area() behaviour. Ideally this should be more tightly packed based off of the L1 dcache shape, once we're able to handle it through the auxiliary vector.
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* fix from psm: just use common resource.hMike Frysinger2006-08-241-209/+0
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-231-7/+4
|
* sync with upstream via psmMike Frysinger2006-08-234-61/+47
|
* import new headers from upstream via psmMike Frysinger2006-08-232-0/+141
|
* fixes from psm: hide internal brk symbolsMike Frysinger2006-08-233-16/+8
|
* fixes from psm: disable unsupported __fpu_control and sync with upstreamMike Frysinger2006-08-231-0/+4
|
* bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen2006-08-211-33/+0
| | | | | based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-9/+12
| | | | I had clearly run search/replace on that were cluttering things up.
* sync with glibcMike Frysinger2006-04-211-1/+10
|
* sync with glibcMike Frysinger2006-03-291-17/+56
|
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-103-5/+0
| | | | most of global data relocations are back
* Weaken all internal vfork versions in asm code, wondering why only some of ↵Peter S. Mazinger2006-02-131-1/+1
| | | | the archs fail
* only check for rlimit stuff if the target doesnt support the newer function ↵Mike Frysinger2006-02-101-0/+3
| | | | call, and dont bother with 64bit versions on 64bit hosts as the regular one works fine (should fix the setrlimit ltp tests)
* missed two __curbrkPeter S. Mazinger2006-02-011-0/+2
|
* I will risk this one: __curbrkPeter S. Mazinger2006-02-012-0/+8
|
* Add some prototypes to arch specific pread_write.c, mips has __mips64 ↵Peter S. Mazinger2006-01-271-0/+4
| | | | questionable ifdefs
* Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"2006-01-261-0/+3
|
* fork/vfork weak in libc, strong in libpthreadPeter S. Mazinger2006-01-241-4/+6
|
* Convert all the strong_aliases to weak that are cancelable in libpthreadPeter S. Mazinger2006-01-241-4/+4
|
* longjmp missed, remove sh version, it's the same as the generic onePeter S. Mazinger2006-01-232-49/+1
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-25/+7
| | | | is a useless attempt
* Correct sigprocmask undefined for sh and remove the useless __sigprocmask weakPeter S. Mazinger2006-01-212-6/+3
|