summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged with trunk: basically white space and blank lines removalCarmelo Amoroso2008-12-111-2/+9
|
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-091-1/+1
| | | | | | This patch makes mips nptl port compile again Replace remaining instances of asm by __asm__ and volatile by __volatile__ include bits/errno.h instead of obsolete bits/errno_values.h
* Sync with trunk r24277Khem Raj2008-12-041-2/+2
| | | | | Remove __NTH from the declation.
* Synch with trunk @ 24242Carmelo Amoroso2008-12-0315-147/+233
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-27197-415/+515
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24160Carmelo Amoroso2008-11-27157-895/+719
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-273-14/+13
| | | | Step 13: build system updates.
* Synch with trunk @ 24087Carmelo Amoroso2008-11-183-6/+6
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-173-6/+102
| | | | | Step 3 libm and related headers
* sh_nptl: Enable CFI directives for shCarmelo Amoroso2008-09-181-0/+3
| | | | | | | | | Enable CFI directives for sh to add proper CFI information into assembly functions. This provides stack frame information used during stack unwinding as well by debugger for backtracing. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fixes posix_fadvise[64] functions to return the Carmelo Amoroso2008-09-183-8/+187
| | | | | | | | | | error number in case of failure instead of -1 and setting errno, according to SuSv3 (IEEE Std 1003.1 2004 edition) specification. Also refactor sysdep.h and syscalls.h moving INTERNAL_SYSCALL macro to the latter (as other archs do in uclibc). Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Kill off the GOT lookup for init/fini in the sh crti.S. This wasCarmelo Amoroso2008-09-181-25/+2
| | | | | | | | | 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. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Remove trailing whitespacesCarmelo Amoroso2008-09-181-2/+2
|
* include signal.h for missing SIG_BLOCK definition.Khem Raj2008-08-151-0/+1
|
* 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>
* some more asm keyword fixes (Yann E. MORIN)Carmelo Amoroso2008-08-063-20/+18
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-31171-460/+466
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* These are already unwired in kernel headers so dont worry about them in uclibcKhem Raj2008-07-171-18/+0
|
* Do not include libc-lock.h because uClibc_mutex.h is exported file and ↵Khem Raj2008-07-141-1/+0
| | | | several application using this headers fail because they do not get __extern_inline define and if cdefs.h is included then the mudslide begins. For now we will live with the warnings in uclibc build.
* Undefine some of redundant syscalls not used by EABI kernels. So uclibc ↵Khem Raj2008-07-141-0/+18
| | | | | | could use alternative implementations for them. include sys/syscalls.h in pt-gettimeofday.c
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-113-5/+6
| | | | | | | | | | | | Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy. warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu Also fix this other warning. warning: missing braces around initializer warning: (near initialization for '_stdio_streams[0].__lock.__
* uClibc_mutex.h should not include bits/libc-lock.h. Revert libtest.c ↵Carmelo Amoroso2008-07-111-1/+0
| | | | accordingly otherwise it cannot compile
* Fix some __UCLIBC_IO_MUTEX_XXXX macro to be used without FUTEX support. ↵Carmelo Amoroso2008-07-112-63/+72
| | | | Thanks Khem for pointing this out
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-23/+8
| | | | Use wait4 for waitpid syscall.
* Exclude some files for ARM NPTL, Do not use _libc_fatalKhem Raj2008-07-101-1/+6
|
* Save PID across vfork syscall. Create a __clone() aliased to clone(). Load ↵Khem Raj2008-07-102-5/+31
| | | | arguments from stack into registers before making clone syscall
* Do not use push/pop in inline asm. It breaks unwindingKhem Raj2008-07-101-6/+10
|
* Thumb atomic operations and makefile changes to accomodate NPTLKhem Raj2008-07-103-2/+14
|
* Fix the builds without STDIO_FUTEXES. Fix msgecv and msgsend to compile on ↵Khem Raj2008-07-093-83/+76
| | | | ARM as well.
* Revert the mips related fixed that got in due to the trunk merge and also ↵Khem Raj2008-07-093-1/+23
| | | | add pt-__syscall_rt_sigaction.c for mips
* BIG BIG commit: forgotten filesCarmelo Amoroso2008-07-091-17/+0
|
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-09219-770/+1219
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk: remove obsolete filesCarmelo Amoroso2008-07-095-582/+0
|
* Synch the whole build system. Also including recent fix on testsuite build ↵Carmelo Amoroso2008-07-092-9/+59
| | | | system
* Sync build machinery stuff from trunk. Some more fixed for mips nptl portKhem Raj2008-06-274-37/+34
|
* Sync with trunk.Khem Raj2008-06-251-3/+7
|
* News syscall wrappers from trunkCarmelo Amoroso2008-06-1810-0/+376
|
* Remove obsolete files and synch with trunkCarmelo Amoroso2008-06-184-293/+0
|
* Synch libc powerpc/arm/sh64/m68k/alpha/microblaze/i960/vax/e1 specific with ↵Carmelo Amoroso2008-06-1892-541/+2790
| | | | trunk
* Synch libc nios/xtensa/v850/h8300/cris/x86_64/ia64/hppa/i382/nios2/frv/avr32 ↵Carmelo Amoroso2008-06-1895-946/+1282
| | | | specific with trunk
* Synch libc mips specific with trunkCarmelo Amoroso2008-06-1841-886/+1606
|
* Synch libc sparc specific with trunkCarmelo Amoroso2008-06-1810-22/+152
|
* Synch libc bfin specific with trunkCarmelo Amoroso2008-06-1820-147/+304
|
* Merge nptl branch tree with trunk. Carmelo Amoroso2008-03-1676-0/+4747
| | | | | | | Step 8: add xtensa, cris and avr32 architecture dependent files, as is. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Push back changes to add cancellation handling.Carmelo Amoroso2007-11-228-63/+154
| | | | | | | | It still needs to reach an agreement on the final solution, anyway this code have been put int to be shared for the mips-sh4 merge Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added some missing files:Carmelo Amoroso2007-11-212-0/+72
| | | | | | | | creat.c: to provide creat function longjmp.c: to provide longjmp implementation for sh4 tsd.c: to provide implementation of __libc_dl_error_tsd Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-207-25/+50
| | | | <carmelo.amoroso@st.com>
* Push latest libc SH4 specific implementationsCarmelo Amoroso2007-11-2012-401/+400
|
* Fix TLS modifier."Steven J. Hill"2007-07-281-1/+1
|
* Not quite yet."Steven J. Hill"2007-07-282-130/+0
|