summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/i386
Commit message (Collapse)AuthorAgeFilesLines
* nptl: mark forwarded functions protectedTimo Teras2010-04-168-0/+8
| | | | | | | | | 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-168-8/+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-148-0/+8
| | | | | | | | | | | | | 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>
* nptl/sysdeps/unix/sysv/linux/i386: cleanup -DUSE___THREADNatanael Copa2010-04-121-11/+5
| | | | | | | | | | Remove the -DUSE___THREAD from specific assembler files since its used everywhere anyway. This is a cleanup after 447a9d1cc181395c3e2ea77ea88e45dee4b30ce6 Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl/sysdeps/unix/sysv/linux/i386: enable USE___THREAD for assemblerTimo Teräs2010-04-121-0/+1
| | | | | | | | | | | NPTL defines errno as __thread variable. Define USE___THREAD so proper errno assignment is used in assembly files. This fixes segfault while building python. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* more fixes for x86_64 nptlAustin Foxley2010-02-193-3/+3
| | | | | | also cleanup some PIC (should be __PIC__) that snuck in Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Fixes to get nptl compiling for x86Khem Raj2010-02-192-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compile fixes for i386 nptlAustin Foxley2010-02-1712-441/+10
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mass sync with glibc nptlAustin Foxley2010-02-1630-899/+2762
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build: Get rids of PIC macro using compiler flag __PIC__ insteadCarmelo Amoroso2009-12-167-13/+13
| | | | | | | 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>
* nptl: fix old style function declerationsAustin Foxley2009-12-091-3/+3
| | | | | | also fix a few shadowed local warnings Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* i386 nptl: add missing weak_alias for pthread_cond_signalAustin Foxley2009-12-041-0/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* don't use __i686 in symbol names as it seems gcc can define itAustin Foxley2009-11-295-24/+24
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* PIC fixes for hardenedTimo Teräs2009-11-272-5/+8
| | | | | | Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* whitespace fixesAustin Foxley2009-10-174-4/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libpthread/nptl: core of the "Native Posix Threading Library" for uClibcAustin Foxley2009-10-1766-0/+5162
targetting arm,sh,i386,mips,sparc for now Signed-off-by: Austin Foxley <austinf@cetoncorp.com>