summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/arm
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* Fix nptl build for mipsKhem Raj2010-02-171-1/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Assorted fixed to get nptl compiling on ARMKhem Raj2010-02-174-3/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mass sync with glibc nptlAustin Foxley2010-02-1610-471/+424
| | | | 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>
* 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-251-0/+1
| | | | | | | * 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>
* whitespace fixesAustin Foxley2009-10-1715-21/+6
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libpthread/nptl: core of the "Native Posix Threading Library" for uClibcAustin Foxley2009-10-1722-0/+2108
targetting arm,sh,i386,mips,sparc for now Signed-off-by: Austin Foxley <austinf@cetoncorp.com>