summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* finish the pthread locking cleanups. This should get things compiling againEric Andersen2006-12-086-9/+5
| | | | though I still need to silence the warnings about _pthread_cleanup_push_defer
* __resolv_lock is supposed to be shared, not static Eric Andersen2006-12-081-2/+2
|
* Fill in a few more of the missing pieces...Eric Andersen2006-12-083-108/+75
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-074-35/+32
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-0739-998/+998
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* stdio update from mjn3Eric Andersen2006-12-0617-87/+323
|
* update from mjn3Eric Andersen2006-12-061-2/+2
|
* prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen2006-12-062-0/+2
|
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-0624-1/+89
| | | | minor include file issues
* pulling in kernel config.h wont flyMike Frysinger2006-12-061-0/+6
|
* note test subdir problems with multilibMike Frysinger2006-12-061-0/+3
|
* make ABI into a listMike Frysinger2006-12-031-6/+14
|
* list ABI first and tweak ISA defaults with suggestions from Jim GiffordMike Frysinger2006-12-031-19/+21
|
* revert previous changeMike Frysinger2006-12-031-2/+0
|
* Patch from Jim Gifford (of Cross Linux From Scratch) fixing the Mips Rob Landley2006-12-031-0/+2
| | | | failures from Mike's nightly builds.
* second SUSV3 legacy check should be for macros as pointed out by psmMike Frysinger2006-12-031-1/+1
|
* fix building when susv3 legacy stuff is disabledMike Frysinger2006-12-021-0/+16
|
* PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now ↵Mike Frysinger2006-12-021-2/+0
| | | | it lives in bits/uClibc_local_lim.h
* (no commit message)"Steven J. Hill"2006-12-021-0/+5
|
* Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc ↵"Steven J. Hill"2006-12-021-3/+0
| | | | code it is not defined.
* remove redundant headers local to libpthread, causing headerEric Andersen2006-11-294-313/+5
| | | | file content skew between the versions
* - introduce UCLIBC_SUSV3_LEGACY_MACROS to be able to do away with all LEGACYBernhard Reutner-Fischer2006-11-292-1/+11
| | | | stuff, even the fallback defines.
* - honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer2006-11-292-2/+6
|
* - Cleanout the only occurance of the SUSv3 LEGACY function getwd() that wasBernhard Reutner-Fischer2006-11-291-6/+1
| | | | furthermore ifdef'ed out anyway.
* - gcvt() is marked LEGACY in XSI and mandatory in BSD.Bernhard Reutner-Fischer2006-11-292-3/+8
| | | | Also make compilation conditional on float support.
* fix from cmetcalf to make sure we clear the auxvt table before using itMike Frysinger2006-11-271-0/+1
|
* indentMike Frysinger2006-11-271-1/+1
|
* - fix typoBernhard Reutner-Fischer2006-11-221-2/+2
|
* Correct -march cflag value for thumb capable ARM processors: Thanks Paul BrookKhem Raj2006-11-221-6/+6
|
* Use constant pool instead of and adr Khem Raj2006-11-211-15/+11
| | | | instruction in unoptimized builds and thumb: thanks Paul Brook
* Add CHECK_ONLY option to allow for running the tests on the target instead ↵"Steven J. Hill"2006-11-182-0/+3
| | | | of attempting to link or compile them. Perhaps I don't fully understand the test structure, but for TLS and NPTL the tests cannot be compiled on the target without a full source tree.
* fix from Paul Brook for ISO C violation in terms of handling of modifying ↵Mike Frysinger2006-11-171-1/+3
| | | | automatic local variables between setjmp/longjmp
* Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵Mike Frysinger2006-11-1711-5/+1669
| | | | L1 functions
* Bernd Schmidt writes:Mike Frysinger2006-11-172-2/+7
| | | | | | | This reintroduces a mechanism identical to the DL_BOOT macro present in older versions of uClibc. On Blackfin and FRV, we want to pass more than one argument to _dl_start. We also want to do something special before returning, so delete the warning when the START macro is defined.
* get rid of the notion of .E files as .i is the proper usageMike Frysinger2006-11-171-6/+4
|
* revert PTHREAD_THREADS_MAX back to former size since the large majority of ↵Mike Frysinger2006-11-171-2/+3
| | | | people out there will not need more than 1k threads (and people who do can change this themselves)
* fix comment typosMike Frysinger2006-11-161-2/+2
|
* add a test for making sure vfork/signals are handled properly across ↵Mike Frysinger2006-11-161-0/+106
| | | | different setjmp/longjmps
* exercise the signal related jump codeMike Frysinger2006-11-161-0/+50
|
* make default output silence and have the exit status indicate errorMike Frysinger2006-11-161-3/+13
|
* revert rev 16527 changes to ldso/ldso/dl-hash.cEric Andersen2006-11-161-42/+20
|
* Paul Brook writes:Eric Andersen2006-11-161-5/+9
| | | | | | | | | | | | The patch below fixes a bug in the new ARM _ld_linux_resolve implementation. I'm don't know if/how the current implementation was tested, but it's completely broken. This patch makes the prologue and epilogue agree on how big the stack frame is, and also makes sure EABI doubleword stack alignment is preserved. Tested on arm-linux-gnueabi.
* This change reimplements the ARM _dl_linux_resolve entry point - this isEric Andersen2006-11-103-53/+192
| | | | | | | called to resolve DLL PLT entries. The assembler is changed to be thumb compatible and slightly faster, the C function, _dl_linux_resolver (note the extra r) is changed to take a byte address in place of an 8 byte count (faster in caller and callee, and slightly easier to understand).
* arm thumb:Eric Andersen2006-11-103-19/+131
| | | | | | | | | | | | | | | | | | | | | | Put the call_via_rx code into each executable - call_via_ip cannot possibly work if called through the PLT! ldso requires this code too as it is not linked with the crt stuff and thumb ldso does make calls via a register. The patch puts the code into crti.S so that it is linked into every normally built application (if thumb or interworking is selected). This is only 30 extra bytes and it works - the previous code did not because nothing both implemented and exported the APIs (they were in libgcc, but not in the version script). crti.S and crtn.S is also brought up to date with GCC 3.4.4 - this is essential for thumb support because the .init and .fini sections must use arm or thumb code to match the compilation of the libraries. Note that code which pushes stuff into .init or .fini must be compiled with or without -mthumb to match the uclibc compilation - and gcc itself (which does do this) must therefore be compiled to match.
* 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.
* I failed to check the patch adding support for the new (stupid) US 2007Eric Andersen2006-11-071-1/+3
| | | | daylight savings time rules when xlocale was enabled. Fix compile error.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-061-1/+1
| | | | | | | We should not use old stype ipc_perm for 64-bit mips kernel. I suppose other 64-bit platforms shoule define __IPC_64 also and we can define it unconditionally, but not sure for other archs ...
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-061-1/+1
| | | | We should use "PTR_LA" instead of "la" for N64 ABI.