summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486
Commit message (Collapse)AuthorAgeFilesLines
* nptl: fix Unwind_Resume PLT callsTimo Teräs2010-12-092-7/+15
| | | | | | | | | | My change a49b3a18e463cbe8c94c41501e386e7f4c61609e fixed two Unwind_Resume calls to go via PLT to avoid text relocations for PIC builds. However, it looks the reason for upstream not using PLT calls is that ebx gets clobbered. So we need to reload it. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: fix x86 assembly PIC relocationsTimo Teräs2010-08-052-2/+2
| | | | | | | | Unwind_Resume needs to be called via PLT. Most calls are already proper, this fix the remaining two problems. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: mark forwarded functions protectedTimo Teras2010-04-167-0/+7
| | | | | | | | | 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-167-7/+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-147-0/+7
| | | | | | | | | | | | | 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>
* 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>
* compile fixes for i386 nptlAustin Foxley2010-02-179-0/+9
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mass sync with glibc nptlAustin Foxley2010-02-1617-620/+2106
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build: Get rids of PIC macro using compiler flag __PIC__ insteadCarmelo Amoroso2009-12-164-6/+6
| | | | | | | 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>
* 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-294-17/+17
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* whitespace fixesAustin Foxley2009-10-172-2/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libpthread/nptl: core of the "Native Posix Threading Library" for uClibcAustin Foxley2009-10-1716-0/+2979
targetting arm,sh,i386,mips,sparc for now Signed-off-by: Austin Foxley <austinf@cetoncorp.com>