summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/generic
Commit message (Collapse)AuthorAgeFilesLines
* ntpl: fix static linking by not leaking SSP_ALL_CFLAGSNatanael Copa2010-11-111-2/+0
| | | | | | | | | | | | | | | The SSP_ALL_CFLAGS in nptl arch CFLAGS leaks out and forces things like dl-support.c, brk.c, sbrk.c memcpy, etc to be built with -fstack-protector-all. This is bad when linking statically since initializing TLS will call those functions before SSP is initialized. The libpthread itself will still be built with -fstack-protector-all due to CFLAGS-nptl has SSP_ALL_CFLAGS in libpthread/nptl/Makefile.in Thanks to Timo Teras for helping with this. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: x86_64: fix compilation of unwinderBernhard Reutner-Fischer2010-07-141-0/+220
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: fix buildsysBernhard Reutner-Fischer2010-07-062-6/+11
| | | | | | | | | Now automatically picks the correct (arch and subarch specific) impls in favour of generic impls. make O=/tmp/objs PREFIX=/my/sysroot -j works now as expected (both out-of-tree as well as parallel-safe). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: fix subdirs handlingBernhard Reutner-Fischer2010-07-061-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: simplify buildsysBernhard Reutner-Fischer2010-07-061-12/+6
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl/generic: Build generic libc-tls.c for non-mips architectures.Khem Raj2010-06-301-2/+3
| | | | | | | | * mips has it own variant. * we dont need to build dl-tls.c here its already built as part of ldso. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* avoid using c99 syntaxMirko Vogt2010-06-211-1/+2
| | | | | Signed-off-by: Mirko Vogt <dev@nanl.de> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: Harmonize objects and headers makefile clean targetsnptl_mergeCarmelo Amoroso2010-04-251-2/+2
| | | | | | | Update all the nptl clean targets (both objects and headers) to use the new syntax using CLEAN_<full_path> and HEADER_<full_path>. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* mass sync with glibc nptlAustin Foxley2010-02-161-13/+8
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: sysdep headers re-factoringCarmelo Amoroso2010-02-091-137/+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>
* whitespace fixesAustin Foxley2009-10-171-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libpthread/nptl: core of the "Native Posix Threading Library" for uClibcAustin Foxley2009-10-177-0/+1431
targetting arm,sh,i386,mips,sparc for now Signed-off-by: Austin Foxley <austinf@cetoncorp.com>