summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/sparc
Commit message (Collapse)AuthorAgeFilesLines
* sparc: fix linking issue with __syscall_error.cAustin Foxley2010-12-292-1/+6
| | | | | | | | | | | Finally got around to testing out latest master and noticed that some buildsystem work last summer broke shared-builds of nptl on sparc. A version of __syscall_error.c needs to be linked into both libpthread and librt Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* ntpl: fix static linking by not leaking SSP_ALL_CFLAGSNatanael Copa2010-11-111-1/+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: remove superfluous =1 from definesBernhard Reutner-Fischer2010-07-141-5/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: fix buildsysBernhard Reutner-Fischer2010-07-061-51/+12
| | | | | | | | | 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: 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>
* nptl: mark forwarded functions protectedTimo Teras2010-04-161-0/+1
| | | | | | | | | The libc stubs should never override the libpthread provided functions inside libpthread, otherwise the struct pthread_functions that is used by the forwarder stubs goes bad. Signed-off-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Revert "nptl: mark symbols with libc forwarder hidden"Timo Teras2010-04-161-1/+0
| | | | | | | | | | This reverts most of commit 1610762362e651f86ca284ac59a1d7ec88034e4e. Marking the symbols hidden is wrong, because libc accesses the pthreads internal symbols for internal locking. Signed-off-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: mark symbols with libc forwarder hiddenTimo Teräs2010-04-141-0/+1
| | | | | | | | | | | | | Add attribute_hidden to all symbols having libc forwarder. This prevents recursive self calls which would happen if libc is before libpthread in linking order: the forwarder functions would call itself via the function table, since the libpthread symbols would get overwritten with libc ones. This has not been a problem in glibc since there these symbols are marked hidden with linker version-script. Since we don't use one, we need to mark these explicitly. Signed-off-by: Timo Teräs <timo.teras@iki.fi> 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-171-0/+1
| | | | | | for archs that implement their own like sparc and x86_64 Signed-off-by: Austin Foxley <austinf@cetoncorp.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>
* a few more build fixes nptl syncAustin Foxley2010-02-162-0/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mass sync with glibc nptlAustin Foxley2010-02-1621-152/+867
| | | | 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>
* libpthread/nptl: core of the "Native Posix Threading Library" for uClibcAustin Foxley2009-10-1730-0/+1473
targetting arm,sh,i386,mips,sparc for now Signed-off-by: Austin Foxley <austinf@cetoncorp.com>