summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
AgeCommit message (Collapse)Author
2008-09-16Add INTERNAL_SYSCALL macros for shCarmelo Amoroso
2008-09-16- add sync_file_range()Bernhard Reutner-Fischer
Tested successfully on i386..
2008-09-04Follow sh asm convention to indent the instruction into the delay slot.Carmelo Amoroso
(glibc community refused to apply a my patch for this :-) )
2008-09-04Kill off the GOT lookup for init/fini in the sh crti.S. This wasPaul Mundt
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.
2008-08-08Fix SH ldso sequence startup.Carmelo Amoroso
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>
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-07-23- fix inline keywordBernhard Reutner-Fischer
2008-07-23- fix asm and volatile keywordsBernhard Reutner-Fischer
2008-07-08sh4 don't need to cope with older RLIMIT implementation.Carmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-03- add missing #endifBernhard Reutner-Fischer
2008-05-03- implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer
- synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
2008-01-17A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt
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.
2008-01-08change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger
doing double negatives
2008-01-05whitespace only: touchups from Hans-Christian EgtvedtMike Frysinger
2007-06-13Carmelo AMOROSO <carmelo.amoroso@st.com> writes:Joakim Tjernlund
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
2007-04-30Carmelo AMOROSO writes:Mike Frysinger
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.
2007-04-02fixes from Carmelo AMOROSO to depend less on kernel headersMike Frysinger
2007-03-14dont include asm/user.hMike Frysinger
2007-03-07Sync sh's procfs.h with glibc, fixes gdbserver.Paul Mundt
Patch from Carmelo Amoroso <carmelo73@gmail.com>.
2007-03-07Fix PLTJMP() token pasting build error, patch fromPaul Mundt
Carmelo Amoroso <carmelo73@gmail.com>.
2007-02-07sh crti.S needs features.h to resolve __HAVE_SHARED__, trivial patchPaul Mundt
from Carmelo Amoroso <carmelo73@gmail.com>.
2007-02-04fixup includes so we compile againMike Frysinger
2007-02-04fix compiling and touchup styleMike Frysinger
2006-12-08Take Mike Frysinger's comments into account -- make certain that userEric Andersen
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
2006-12-06bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen
minor include file issues
2006-10-23Merge SH-2 trapa fixups from Mark.Paul Mundt
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.
2006-08-25Bump SHMLBA up to a sensible size for dcache alias avoidance to coincide withPaul Mundt
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.
2006-08-24fix from psm: enable readahead prototypeMike Frysinger
2006-08-24fix from psm: just use common resource.hMike Frysinger
2006-08-23sync with psm: update errno handling to be the same on all archesMike Frysinger
2006-08-23sync with upstream via psmMike Frysinger
2006-08-23import new headers from upstream via psmMike Frysinger
2006-08-23fixes from psm: hide internal brk symbolsMike Frysinger
2006-08-23fixes from psm: disable unsupported __fpu_control and sync with upstreamMike Frysinger
2006-08-21bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen
based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-04-21sync with glibcMike Frysinger
2006-03-29sync with glibcMike Frysinger
2006-03-10Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger
most of global data relocations are back
2006-02-13Weaken all internal vfork versions in asm code, wondering why only some of ↵Peter S. Mazinger
the archs fail
2006-02-10only check for rlimit stuff if the target doesnt support the newer function ↵Mike Frysinger
call, and dont bother with 64bit versions on 64bit hosts as the regular one works fine (should fix the setrlimit ltp tests)
2006-02-01missed two __curbrkPeter S. Mazinger
2006-02-01I will risk this one: __curbrkPeter S. Mazinger
2006-01-27Add some prototypes to arch specific pread_write.c, mips has __mips64 ↵Peter S. Mazinger
questionable ifdefs
2006-01-26Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"
2006-01-24fork/vfork weak in libc, strong in libpthreadPeter S. Mazinger
2006-01-24Convert all the strong_aliases to weak that are cancelable in libpthreadPeter S. Mazinger
2006-01-23longjmp missed, remove sh version, it's the same as the generic onePeter S. Mazinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-21Correct sigprocmask undefined for sh and remove the useless __sigprocmask weakPeter S. Mazinger