summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old
Commit message (Collapse)AuthorAgeFilesLines
...
* - use c89-style commentsBernhard Reutner-Fischer2008-10-032-8/+9
| | | | Closes issue #5194
* Add globally __stringify macro in libc-symbols.h.Carmelo Amoroso2008-09-251-3/+1
| | | | | | Remove all other duplicated definitions. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix up an msync() redefinition for linuxthreads + nommu systems,Paul Mundt2008-08-211-1/+2
| | | | | | common case depends on __ARCH_USE_MMU__, falling back on the include/sys/mman.h:msync() stub otherwise.
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-2310-43/+43
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-239-27/+27
|
* - fix asm and volatile keywordsBernhard Reutner-Fischer2008-07-231-2/+2
|
* - move stripping into do_ar resp compile-m for the sake of simplicityBernhard Reutner-Fischer2008-06-171-3/+0
|
* - Improve prerequisites and avoid spurious reconfigurations.Bernhard Reutner-Fischer2008-06-091-6/+10
| | | | More details: http://uclibc.org/lists/uclibc/2008-June/019509.html
* - strip the targets and not prerequisitesBernhard Reutner-Fischer2008-06-041-14/+11
| | | | | | - tidy up PTHREADS_DEBUG_SUPPORT by using per-target STRIP_FLAGS for the few This fixes the spurious rebuilds bernd and vda were seeing with libpthreads.
* A slight improvement over my previous commit which ensured we always rebuildBernd Schmidt2008-06-011-2/+2
| | | | | | | | | libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule.
* - pull commentary fixes from upstreamBernhard Reutner-Fischer2008-05-281-5/+12
|
* add an URL to relevant gcc bugzilla entryDenis Vlasenko2008-05-201-2/+3
|
* suppress "asm declaration ignored due to conflict with previous rename"Denis Vlasenko2008-05-201-0/+20
| | | | | warning. It seems to be bogus. Comment contains extended description.
* - remove old-style definitions. No object-code changes.Bernhard Reutner-Fischer2008-05-203-6/+4
|
* - avoid warning due to undefined preprocessor tokenBernhard Reutner-Fischer2008-05-201-1/+1
|
* - avoid warning due to undefined preprocessor tokenBernhard Reutner-Fischer2008-05-201-18/+2
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* make sure we store the function pointers to the real push/pop functions ↵Mike Frysinger2008-05-151-2/+2
| | | | | | | | | | | rather than the public weak ones so that the libc->libpthread forwarding code is able to work properly this should fix the case where libpthread.so is not linked directly, but rather via another library: app -> links to libfoo.so -> links to libpthread.so and any function (like readdir_r) that does: __UCLIBC_MUTEX_LOCK() __UCLIBC_MUTEX_UNLOCK()
* Remove gcc warning due to missing prototype for 'testandset'Carmelo Amoroso2008-05-071-0/+2
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - cleanup by manually expanding the helpers.Bernhard Reutner-Fischer2008-05-031-13/+14
| | | | Saves several 100 bytes
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-246-15/+15
|
* Fix whitespace damage in AVR32 pt-machine.h in libpthread, linuxthreads and ↵Hans-Christian Egtvedt2008-04-161-23/+23
| | | | linuxthreads.old.
* use the __extern_always_inline define from cdefs.h instead of duplicating ↵Mike Frysinger2008-01-0621-97/+21
| | | | gcc version checking in every pt-machine.h header ... while __extern_always_inline should work fine, i think what is intended is __extern_inline ... should double check later
* - fixup gnu_inline vs. C99 inlineBernhard Reutner-Fischer2008-01-0518-53/+137
| | | | - add missing header guards while at it
* Chris Zankel writes:Mike Frysinger2008-01-051-0/+48
| | | | | | | | | | | | | | | | | | The following patches add support for the Xtensa processor architecture to uClibc. They are based on a recent SVN checkout (12/05/2007). The first patch (attached to this post) adds Xtensa support to various shared configuration and make files. The following patches then include the Xtensa specific files and directories. I welcome any feedback and would appreciate it if you could include the patches into the mainline tree. I am certainly committed to maintain the port. Bob Wilson was kind enough to review the patches. Some notes about the architecture: Xtensa is a configurable and extensible processor architecture developed by Tensilica. For more information, please visit: www.linux-xtensa.org.
* A better atomic ops implementation for the Blackfin, relying on a featureBernd Schmidt2007-11-231-10/+38
| | | | present in our recent kernels.
* Add hidden symbols for a number of pthread functions, and use them to ensureBernd Schmidt2007-11-226-1/+98
| | | | | that all entries in the __pthread_functions point to functions within libpthread, not identically-named functions in libc.
* Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso2007-11-161-0/+73
| | | | <hcegtvedt@atmel.com>
* - use the compiler-driver instead of the linkerBernhard Reutner-Fischer2007-10-131-1/+1
| | | | | | | | | - adjust setting flags accordingly to use (hardcoded, see below) -Wl, Potential improvements: *) --warn-unresolved-symbols should perhaps be used for all libs *) eventually rename LDFLAGS to CC_LDFLAGS *) probe for compiler driver's notion of flag to use for passing in linker flags (i.e. don't hardcode "-Wl,")
* tweak msync prototype to match headerMike Frysinger2007-06-291-1/+1
|
* Bernd Schmidt writes: make sure custom stacks work properly for no-mmuMike Frysinger2007-05-311-0/+7
|
* #1273 if EXTRAVERSION is set, make sure we respect itMike Frysinger2007-03-191-1/+1
|
* call kernel helper to do spinlocksMike Frysinger2007-02-201-21/+14
|
* since these functions get exported, namespace the argumentsMike Frysinger2007-01-291-8/+8
|
* Peter Mazinger pointed out that my last commit was faulty.Joakim Tjernlund2007-01-113-1/+8
| | | | This should fix it.
* only define msync cancellation point if the syscall existsMike Frysinger2006-12-081-0/+2
|
* finish the pthread locking cleanups. This should get things compiling againEric Andersen2006-12-081-3/+0
| | | | though I still need to silence the warnings about _pthread_cleanup_push_defer
* prevent cancellation functions from being called more than onceMike Frysinger2006-11-091-3/+7
|
* backport from upstream:Mike Frysinger2006-11-099-22/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-10 Ulrich Drepper <drepper@redhat.com> * join.c (pthread_exit): Move code to new function __pthread_do_exit which takes an extra parameter with the current frame pointer. Call new function with CURRENT_STACK_FRAME. (__pthread_do_exit): New function. Call __pthread_perform_cleanup with the new parameter. (pthread_join): Call __pthread_do_exit instead of pthread_exit. * cancel.c (__pthread_perform_cleanup): Takes extra parameter. Use this parameter as the initial value the cleanup handler records are compared against. No active cleanup handler record must have an address lower than the previous one and the initial record must be above (below on PA) the frame address passed in. (pthread_setcancelstate): Call __pthread_do_exit instead of pthread_exit. (pthread_setcanceltype): Likewise. (pthread_testcancel): Likewise. (_pthread_cleanup_pop_restore): Likewise. * condvar.c (pthread_cond_wait): Likewise. (pthread_cond_timedwait_relative): Likewise. * manager.c (pthread_start_thread): Likewise. * oldsemaphore.c (__old_sem_wait): Likewise. * pthread.c (pthread_handle_sigcancel): Likewise. * semaphore.c (__new_sem_wait): Likewise. (sem_timedwait): Likewise. * ptlongjmp.c (pthread_cleanup_upto): Also use current stack frame to limit the cleanup handlers which get run. * internals.h: Add prototype for __pthread_do_exit. Adjust prototype for __pthread_perform_cleanup.
* backport from upstream:Mike Frysinger2006-11-092-0/+13
| | | | | | | | 2001-04-11 Ulrich Drepper <drepper@redhat.com> * cancel.c (_pthread_cleanup_push): Catch invalid __prev buffer and remove it. (_pthread_cleanup_push_defer): Likewise.
* remove duplicated/unused ASSERT codeMike Frysinger2006-11-035-33/+0
|
* dont need to force optimization in CFLAGS anymore (if this fails your ↵Mike Frysinger2006-11-031-5/+0
| | | | compiler prob sucks anyways)
* merge fixes from upstream (rev 1.10 -> 1.13)Mike Frysinger2006-08-241-2/+5
|
* use sched_yield, not pthread_yieldMike Frysinger2006-03-051-12/+0
|
* need types.h for size_t as pointed out in buildlogMike Frysinger2006-02-281-0/+1
|
* import ia64 linuxthreads filesMike Frysinger2006-02-274-0/+304
|
* Added support for the new CRISv32 architecture.Peter Kjellerstedt2006-02-231-9/+15
|
* Make use of CFLAGS-OMIT-filePeter S. Mazinger2006-02-231-3/+4
|
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-184-18/+18
|
* make headers more quietMike Frysinger2006-02-181-4/+4
|