summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old
Commit message (Collapse)AuthorAgeFilesLines
* libc: add hidden calls to pthread cleanup funcsMike Frysinger2009-11-092-0/+4
| | | | | | | | | | A lot of libc code calls the pthread cleanup funcs implicitly (for stdio) which currently goes through the PLT. Since we already have forwarding symbols for these funcs, it's safe to declare the internal libc usage hidden as a loaded libpthread will have the real symbols found. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-183-5/+2
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-181-2/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-191-11/+14
| | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* linuxthreads.old: define pthread_yield to sched_yieldMike Frysinger2009-08-191-0/+5
| | | | | | | | | The pthread_yield() function in linuxthreads does the same thing as the standardized sched_yield() function, so add a simple define for it to make porting GNU apps easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* linuxthreads.old: fix crash in debug codeMike Frysinger2009-08-191-1/+1
| | | | | | | | If pthread_join() is called and there is nothing to join, then the debug code will attempt to dereference a NULL pointer. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libpthread: add format attribute to __pthread_message()Mike Frysinger2009-08-192-3/+4
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* linuxthreads.old: extend workaround for asm rename warningsMike Frysinger2009-08-192-0/+12
| | | | | | | | The libc_pthread_init.c needs the include workaround like forward.c, and forward.c needs more includes now. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Don't shadow the mask parameter with a local variable in the same functionRon2009-07-091-2/+2
| | | | | | Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Check #if feature test macros are defined where they may not beRon2009-07-095-9/+9
| | | | | | | | | | Once again all of these reduce the noise from gcc-4.4. Replaces a few more (USE_TLS && HAVE___THREAD) with USE___THREAD while we need to mess with them for this anyhow. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Provide token prototypes for functions that are external but have no headerRon2009-07-091-2/+2
| | | | | | | | This cuts down on a lot of noise from gcc-4.4 Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add noreturn attributes to some functions that won't ever do soRon2009-07-091-2/+2
| | | | | | | | | | usage() is also made static in answer to warnings about no prototype. In __pthread_manager_event() we also have to drop the return statement, else gcc will in turn complain about a non-returning function having one. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merged revisions 26033 via svnmerge from Khem Raj2009-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r26033 | kraj | 2009-04-09 00:38:04 -0700 (Thu, 09 Apr 2009) | 13 lines The attached patches fixes the problems found bringing up uclibc on coldfire M5485 processor 1. Disable mmap2() if we're compiling for coldfire and fall back to mmap(). It seems to map a different file area on a 2.6.25 linux kernel. 2. Uses pc-relative addresing[1], computes ADDR_ALIGN, PAGE_ALIGN and OFFSET_ALIGN relatively to _dl_pagesize[3]. On coldfire/M5485 _dl_pagesize is 0x2000. Signed-off-by: Groleo Marius <groleo@gmail.com> ........
* reinstate __libc_foo for linuxthreads.oldDenis Vlasenko2009-02-253-10/+11
|
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-221-1/+1
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - pull r24786 from trunkBernhard Reutner-Fischer2009-01-121-2/+2
|
* - whitespace cleanup; no obj-code changes (r24600)Bernhard Reutner-Fischer2008-12-291-1/+1
|
* - pull r24593:24596 from trunkBernhard Reutner-Fischer2008-12-292-0/+4
|
* Merges from trunkKhem Raj2008-12-221-1/+1
|
* Merge linuxthread.old from trunk.Khem Raj2008-12-154-4/+4
|
* Synch with trunk @ 24379Carmelo Amoroso2008-12-116-56/+48
| | | | Step 21: merge linuxthreads.old directory
* Synch with trunk @ 24242Carmelo Amoroso2008-12-033-17/+12
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-271-5/+4
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24160Carmelo Amoroso2008-11-271-2/+2
| | | | Step 13: build system updates.
* Synch with trunk @ 24087Carmelo Amoroso2008-11-182-2/+3
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24071.Carmelo Amoroso2008-11-179-33/+106
| | | | | Step 1 linuxthreads - linuxthreads_db - linuxthread.old - linuxthreads.old_db
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-3115-72/+72
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch linuxthreads.old with trunkCarmelo Amoroso2008-06-189-64/+75
|
* STEP 11: synch linuxthreads.old directoryCarmelo Amoroso2008-04-257-38/+38
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge nptl branch tree with trunk. Carmelo Amoroso2008-03-1629-80/+334
| | | | | | Step 7: merge linuxthreads and linuxthread.old folders Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge nptl branch tree with trunk. Carmelo Amoroso2008-03-161-2/+2
| | | | | | | Step 6: fix Makefiles to use $(VERSION) and the compiler-driver for the link stage Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge from trunk."Steven J. Hill"2007-01-203-1/+8
|
* Merge from trunk."Steven J. Hill"2006-12-1615-68/+90
|
* Merge from trunk."Steven J. Hill"2006-08-182-12/+1
|
* Merge from trunk."Steven J. Hill"2006-02-274-0/+304
|
* Merge from trunk."Steven J. Hill"2006-02-252-12/+19
|
* Merge from trunk."Steven J. Hill"2006-02-2321-162/+256
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-071-1/+1
|
* Merge from trunk."Steven J. Hill"2006-01-062-28/+90
|
* Merge from trunk."Steven J. Hill"2006-01-0625-1999/+483
|
* Merge from trunk."Steven J. Hill"2005-12-063-4/+8
|
* Merge from trunk. More to come you betcha'."Steven J. Hill"2005-12-021-1/+1
|
* Mini-merge from trunk. Not as fun as a Mini Cooper, but oh well."Steven J. Hill"2005-12-011-8/+15
|
* Sync up with trunk."Steven J. Hill"2005-11-192-5/+4
|
* Massive merge from trunk."Steven J. Hill"2005-11-182-37/+78
|
* Copy from trunk."Steven J. Hill"2005-11-1664-0/+14160