summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sparc: disable cancellable system, as it fails in strange ways right nowAustin Foxley2010-02-191-1/+4
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc: also needs generic version of lowlevelrobustlockAustin Foxley2010-02-191-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add dummy tcb-offsets.hKhem Raj2010-02-192-1/+2
| | | | | | | | | | * This file is used during creation of real tcb-offsets.h because lowlevellock.h from i386 also include tcb-offsets.h and it is inturn included by tls.h and tls.h is used in the dummy C file generated from tcb-offsets.sym, it created a catch-22 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nptl_sh: Fix build problem with FUTEX_CLOCK_REALTIMECarmelo Amoroso2010-02-191-1/+1
| | | | | | | | | | This patch fixes a build problem into the lowlevellock.S when support FUTEX_CLOCK_REALTIME (kernel newer than 2.6.29). __have_futex_clock_realtime symbol is not defined when set __ASSUME_FUTEX_CLOCK_REALTIME. The same is on i386 arch. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* x86_64: compile pthread it's own version of __syscall_errorAustin Foxley2010-02-193-10/+6
| | | | | | also fix up clone.S from sync Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* more fixes for x86_64 nptlAustin Foxley2010-02-1916-20/+23
| | | | | | also cleanup some PIC (should be __PIC__) that snuck in Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add dwarf defines used in cfi statementsAustin Foxley2010-02-191-0/+19
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* update kernel-features.h with futex featuresAustin Foxley2010-02-191-0/+17
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* use macro to link ldso to libpthread, so it gets the the right name on 64 ↵Austin Foxley2010-02-191-1/+1
| | | | | | bit archs Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fixes to get nptl compiling for x86_64Austin Foxley2010-02-1910-49/+10
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* x86_64: finish up tls reloc support in ldsoAustin Foxley2010-02-192-8/+28
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Fixes to get nptl compiling for x86Khem Raj2010-02-193-3/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Fix typo in generated file names.Khem Raj2010-02-181-20/+20
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* i386 unify sysdep.hAustin Foxley2010-02-182-158/+125
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* x86_64: unify sysdep.hAustin Foxley2010-02-182-115/+94
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: Fix clean target to remove generated filesCarmelo Amoroso2010-02-181-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* include tcb-offsets.h in sysdep-cancel.h for arm.Khem Raj2010-02-181-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Get new nptl building on SH4Khem Raj2010-02-1712-7/+31
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compile fixes for i386 nptlAustin Foxley2010-02-1716-112/+18
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix nptl build for sparcAustin Foxley2010-02-172-2/+5
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* move pthread_barrier_{init,destroy} to sysdeps/pthreadAustin Foxley2010-02-175-1/+7
| | | | | | for archs that implement their own like sparc and x86_64 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Fix nptl build for mipsKhem Raj2010-02-174-2/+27
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sparc/nptl: typo fixesAustin Foxley2010-02-172-2/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc/nptl: fix wrong vfork hidden defAustin Foxley2010-02-171-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add missing lowlevelrobustlock.cKhem Raj2010-02-171-0/+114
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add missing libgcc_s.h header.Khem Raj2010-02-172-1/+2
| | | | | | * Do not include tls.h in aeabi_read_tp.S. Its not needed. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* update nptl gitignoreAustin Foxley2010-02-171-7/+8
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix typoAustin Foxley2010-02-171-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Assorted fixed to get nptl compiling on ARMKhem Raj2010-02-1724-80/+258
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* a few more build fixes nptl syncAustin Foxley2010-02-167-26/+19
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mass sync with glibc nptlAustin Foxley2010-02-16299-5443/+18806
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc/sigaction: revert change. These semantics are needed for nptlAustin Foxley2010-02-131-4/+5
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc/sysdep: Unify sparc sysdep.hAustin Foxley2010-02-131-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* arm/sysdep: Unify arm sysdep.hKhem Raj2010-02-112-341/+278
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mips/sysdep.h: Unify mips sysdep.hKhem Raj2010-02-113-428/+350
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libc: build tsd only when tls is enabledAustin Foxley2010-02-111-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* ldso: fix USE_TLS checkAustin Foxley2010-02-111-1/+1
| | | | | | this was causing tls symbols to leak into non-tls builds Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: sysdep headers update for i386, mips and x86_64Carmelo Amoroso2010-02-093-3/+3
| | | | | | | | Update the arch specific sysdep headers to include the common header under libc/sysdeps/linux/common instead of libpthread/nptl/sysdeps/generic. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* nptl_test: sysdep headers re-factoringCarmelo Amoroso2010-02-094-2/+11
| | | | | | Update nptl and tls Makefiles according to new sysdep headers structure Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* nptl: sysdep headers re-factoringCarmelo Amoroso2010-02-098-193/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will re-factor and simplify sysdep headers handling for nptl branch. The reason is to use some useful macros in asm code (i.e. ENTRY()) that are available only into nptl branch because are defined in sysdep.h header under the nptl folder even if they are not related to NPTL at all (this was likely due to a bad choice done at the early stage of NPTL porting). This is a required steps for integrating into master branch some asm code available in nptl branch for sh4. The main changes are described below: nptl/sysdeps/generic/sysdep.h (moved) ---> libc/sysdeps/linux/common/sysdep.h nptl/sysdeps/arm/sysdep.h (moved) ---> libc/sysdeps/linux/arm/sysdep.h nptl/sysdeps/sh/sysdep.h ---------------------| nptl/sysdeps/unix/sh/sysdep.h ----------------| nptl/sysdeps/unix/sysv/linux/sh/sysdep.h -----| nptl/sysdeps/unix/sysv/linux/sh/sh4/sysdep.h -| |(merged) ---> libc/sysdeps/linux/sh nptl/sysdeps/unix/sysdep.h (deleted) Similarly the mips and arm sysdep.h should be merged and updated as for sh arch. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libc: Fix typo in include/rpcCarmelo Amoroso2010-02-083-6/+6
| | | | | | | s/GNU_SOUCE/GNU_SOURCE/ in include/rcp/ Signed-off-by: Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge commit 'origin/master' into nptlAustin Foxley2010-02-0518-58/+115
|\ | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * prctl: silence shadow warningsBernhard Reutner-Fischer2010-02-051-1/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ldso: add missing prototypesBernhard Reutner-Fischer2010-02-051-0/+5
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * Revert "ftw.h installation: fix inverted logic"Bernhard Reutner-Fischer2010-02-051-1/+1
| | | | | | | | | | | | | | | | | | The logic was fine previously. Thanks to Peter Kjellerstedt for pointing out my confusion. This reverts commit d75f980f379dfbbe70ae8fb0956693a95af2fca2. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * libm: explain why some funcs are not implemented (yet)Bernhard Reutner-Fischer2010-02-041-1/+2
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * libm: enable log2f and exp2fAurelien Jacobs2010-02-043-5/+7
| | | | | | | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * Unbreak build for sparc on some config'sAustin Foxley2010-02-031-5/+4
| | | | | | | | | | | | Thanks to rob@landley.net Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * __uClibc_main: use __pagesize to protect against recursionBernhard Reutner-Fischer2010-02-031-4/+2
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * add gethostid() testcaseBernhard Reutner-Fischer2010-02-031-0/+6
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>