summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/init.c
Commit message (Collapse)AuthorAgeFilesLines
* add missing prototypesPeter S. Mazinger2011-03-031-0/+1
| | | | | | Add some missing prototypes Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* use uniform form of C99 keywordsBernhard Reutner-Fischer2010-06-241-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* silence some warnings about missing prototypesBernhard Reutner-Fischer2010-06-111-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: fix dynamic initialization of libpthreadTimo Teräs2010-04-221-0/+6
| | | | | | | | | | | | | | If libpthread get's pulled in via dlopen(), we need to do libpthread initialization in dlopen(). Achieve this by making initializer function out of __pthread_initialize_minimal_internal. Add the proper linker flags and make it callable multiple times. Add also nodelete flag which ensures that libpthread will not get unmapped after it's been loading. Though, ld.so does not yet support this. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: initialize stdio lockingTimo Teräs2010-04-141-0/+12
| | | | | | | | uClibc requires the threading library to enable locking for stdio, or the locking is not done at all. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl: mark symbols with libc forwarder hiddenTimo Teräs2010-04-141-2/+2
| | | | | | | | | | | | | 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>
* Assorted fixed to get nptl compiling on ARMKhem Raj2010-02-171-8/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mass sync with glibc nptlAustin Foxley2010-02-161-35/+142
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libpthread/nptl: core of the "Native Posix Threading Library" for uClibcAustin Foxley2009-10-171-0/+329
| | | | | | targetting arm,sh,i386,mips,sparc for now Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Back out nptl changes, which for now will be done in branches/uClibc-nptlEric Andersen2005-05-201-344/+0
|
* More glibc backward compatibility cruft. Oh the horror!"Steven J. Hill"2005-05-111-1/+0
|
* Import in NPTL code from glibc. For further information please"Steven J. Hill"2005-05-071-0/+345
consult the 'README.NPTL' file.