summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl
Commit message (Collapse)AuthorAgeFilesLines
...
* Get x86_64 compile to succeed.Khem Raj2010-02-191-2/+2
| | | | | | * The changes to clone.S needs testing Signed-off-by: Khem Raj <raj.khem@gmail.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-191-0/+1
| | | | | | | | | | * 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>
* 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-198-41/+5
| | | | 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-181-157/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* x86_64: unify sysdep.hAustin Foxley2010-02-182-373/+0
| | | | 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-1710-6/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compile fixes for i386 nptlAustin Foxley2010-02-1716-446/+16
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix nptl build for sparcAustin Foxley2010-02-171-1/+0
| | | | 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-173-2/+24
| | | | 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>
* 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-1719-62/+196
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* a few more build fixes nptl syncAustin Foxley2010-02-166-25/+17
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mass sync with glibc nptlAustin Foxley2010-02-16296-5383/+18461
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc/sysdep: Unify sparc sysdep.hAustin Foxley2010-02-131-65/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* arm/sysdep: Unify arm sysdep.hKhem Raj2010-02-111-334/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mips/sysdep.h: Unify mips sysdep.hKhem Raj2010-02-112-412/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.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: sysdep headers re-factoringCarmelo Amoroso2010-02-097-630/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* pthread_{attr_,}{s,g}etaffinity: cleanup symbol namesBernhard Reutner-Fischer2010-02-054-13/+10
| | | | | | and hide __determine_cpumask_size. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Add -DNOT_IN_libc=1 -DIS_IN_libpthread=1 to some sources in nptl/libpthread ↵Khem Raj2010-02-011-0/+1
| | | | | | | | | build. * This will prevent use of internal __libc* symbols in libpthread which should be hidden for libc only use. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Makefile.arch: On ARM and MIPS pass -DNOT_IN_libc=1 -DIS_IN_libpthread=1Khem Raj2010-01-252-0/+2
| | | | | | | * This will prevent it using internal __libc* symbols in pthread which should be hidden for libc only use. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mips/dl-tls.h: Adjust TLS_TPREL_VALUE and TLS_DTPREL_VALUEKhem Raj2010-01-251-4/+4
| | | | | | | * Symbol values are passed in directly into these macros instead of the symbol structure. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nptl: timer_routines.c (timer_helper_thread):Austin Foxley2010-01-232-8/+6
| | | | | | | | | Use sigfillset. Document that sigfillset does the right thing wrt to SIGSETXID. Sync with glibc Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: need to build generic timer_* functions for x86_64 and sparcAustin Foxley2010-01-231-2/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: fix a few more old style prototypesAustin Foxley2010-01-232-6/+6
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* x86_64: fix up the rest of the includes and aliases for nptlAustin Foxley2009-12-1612-11/+24
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* x86_64: add missing includes to sem_*.SAustin Foxley2009-12-162-0/+4
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix multiple definitions of pthread_once for x86_64Austin Foxley2009-12-162-4/+2
| | | | | | also add a missing weak for clone Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* x86_64: no waitpid syscall exists, so use wait4Austin Foxley2009-12-161-5/+6
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build: Get rids of PIC macro using compiler flag __PIC__ insteadCarmelo Amoroso2009-12-1619-35/+35
| | | | | | | Based on Peter Mazinger's comments on a recent commit, I decided to get rids of all occurrences of PIC changing them to __PIC__ Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* fix typo that sneaked in with 9a7506Natanael Copa2009-12-151-1/+1
| | | | | Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Go back to using nptl_arch_headersAustin Foxley2009-12-111-1/+2
| | | | | | this is part of the revert of 641e7e36ad0a9 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Revert "nptl: make build depend directly on nptl headers"Austin Foxley2009-12-117-28/+37
| | | | | | This reverts commit 641e7e36ad0a9b2899b04f256c5b243ada7da279. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* get x86_64 nptl buildingAustin Foxley2009-12-1144-312/+1223
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: fix even more old style declarationsAustin Foxley2009-12-119-26/+20
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: fix a few more old style declerationsAustin Foxley2009-12-094-15/+12
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>