summaryrefslogtreecommitdiff
path: root/libpthread
AgeCommit message (Collapse)Author
2005-10-28Renamed arch specific Makefile.in to Makefile.arch, else if TARGET_ARCH does ↵Peter S. Mazinger
not exist, we reinclude the including Makefile. Moved arch/common fpu_control.h link creation into main Makefile.in. Updated the link creation script to remove all the other Makefiles
2005-10-28fix building with localeMike Frysinger
2005-10-27Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger
to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place.
2005-10-27Correct header cleanup, if threads are disabled, thanks to Jan-Benedict Glaw ↵Peter S. Mazinger
reporting it.
2005-10-26Default changed to IMA compiling, disabled explicitely where currently not ↵Peter S. Mazinger
possible. Add clean targets for linuxthreads[_db].
2005-10-25All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
2005-10-19linuxthreads_db depends on PTHREADS_DEBUG_SUPPORTPeter S. Mazinger
2005-10-19headers is prerequisite for subdirsPeter S. Mazinger
2005-10-19Add the linuxthreads Makefiles tooPeter S. Mazinger
2005-10-12Curious failure now, haven't touched this one.Peter S. Mazinger
2005-10-12Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger
objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
2005-10-11Defer SHARED_START/END_FILES. They are only used for the shared library.Peter S. Mazinger
2005-10-11Do not defer expansions where useless, like CSRC/OBJS/LIB_NAME/AR_LIB_NAME, ↵Peter S. Mazinger
defer only for shared lib related stuff, because it is optional. Run STRIPTOOL only once. More use of /$^/$<.
2005-10-08Fix up PTDIR bug and clean target for libpthread."Steven J. Hill"
2005-10-04Add another commentPeter S. Mazinger
2005-10-04Use PTDIR in libpthread/Makefile too, add new PTNAME being nptl or ↵Peter S. Mazinger
linuxthreads. sjhill, I know you kill my keyboard, but please read my added comments, thanks.
2005-10-04Do not recurse into ldso/libc/libpthread on cleanPeter S. Mazinger
2005-10-04Clean up pthread include mess. Some of these will be needed to support NPTL, ↵"Steven J. Hill"
but they do no harm for the linuxthreads case. Yes, I tested this.
2005-10-04Neaten up the libpthread directory."Steven J. Hill"
2005-10-01Again, I need to cut down on my merge times and this last set of changes to ↵"Steven J. Hill"
the makefile structure is killing me. Sorry to put more native thread stuff in, but it cannot be activated in the trunk, so there is no harm.
2005-09-30Move arch specific bits from linuxthreads' Makefile to ↵Peter S. Mazinger
linuxthreads/sysdeps/TARGET_ARCH/Makefile.in proposed by vapier. The current implementation should suffice for now, but it needs to be extended for the nptl tree.
2005-09-29Similarly to libm, remove recursion from linuxthreads. Now only libc.a and ↵Peter S. Mazinger
libc.so are rebuilt again if make is run a second time.
2005-09-28Remove ar-target and shared targets, at build time now we traverse the tree ↵Peter S. Mazinger
only once. Generalize all toplevel makefiles. Make sure, that libdl.so is built against libc.so and not libc.a
2005-09-24Remove unneeded if clause. We won't be in this directory unless we"Steven J. Hill"
have enabled threads.
2005-09-22no check needed in libm/libpthread, we do not recurse anymore if the related ↵Peter S. Mazinger
option is not set, more Makefile cleanups
2005-09-21also symlink thread_db.h instead of duplicating it, fix the clean target, ↵Mike Frysinger
and touchup the headers target so we dont create bogus dir symlinks
2005-09-21remove unused headers on install and clean up all thread related onesPeter S. Mazinger
2005-09-21'pthread.h' is not the only file that needs to be symlinked. When NPTL gets ↵"Steven J. Hill"
merged, you will need to do 'semaphore.h' and 'bits/pthreadtypes.h'. I think I have been a good little boy and keeping my NPTL changes out of mainline, so I'm going to go ahead and cross the line this once to get this change in.
2005-09-21dont duplicate pthread.h in include and libpthread subdirs, so symlink itMike Frysinger
2005-09-16Robin Getz from blackfin.uclinux.org writes:Mike Frysinger
Bernd Schmidt found/fixed this problem in uClibc: http://blackfin.uclinux.org/tracker/index.php?func=detail&aid=882&group_id=17&atid=141 Basically, the uClinux dist includes a few thread demos - thdm and bcdm - running them simultaneously sometimes causes bus errors. Bernd wrote: >They occur in pthread_handle_sigrestart; thread_self returns a bogus value. >I managed to capture a debugging log, it's attached as bad-log. If you >look at it you'll notice that the initial stack bounds are bogus: bottom >of stack is higher than top of stack. This appears to be because of a bug >in NOMMU_INITIAL_THREAD_BOUNDS(tos,bos): if a new thread has a BOS equal >to the initial thread's current TOS, it'll munge the initial thread's >stack bounds. Fixed with the attached patch, which I've committed. >This should fix the crashes people have seen, but since the bug was always >hard to reproduce, I can't be 100% certain they are gone. Please retest, >everyone... This patch was made against our cvs, which has an older version of uClibc in it - this code was recently moved from internals.h to descr.h in the uclibc svn, but it still has the same problem
2005-09-09remove duplicated p_canceled setting and extra whitespaceMike Frysinger
2005-09-09sync style changes and misc fixes from glibcMike Frysinger
2005-09-09sync some style changes and stack fixes with glibcMike Frysinger
2005-09-09sync with glibc and macro out the strong_alias/versioned-symbols to cut down ↵Mike Frysinger
on the diffs
2005-09-09newer linuxthreads renamed the function invalid_handle() to nonexisting_handle()Mike Frysinger
2005-09-09sync with glibc by moving the thread_desc stuff out of internals.h and into ↵Mike Frysinger
a new file descr.h ... also redo thread_desc init by specifying members in the struct by name rather than position
2005-09-09revert pthread_exit change until all files using new prototype is readyMike Frysinger
2005-09-08sync all the strong_alias and version compat stuff but make them no-ops with ↵Mike Frysinger
#if magic to cut down on diffs
2005-09-08add hidden_def() macros from glibc but stub them out to cut down on diffsMike Frysinger
2005-09-08sync changelog with glibcMike Frysinger
2005-09-08sync prototypes with glibcMike Frysinger
2005-09-08punt wrapsyscall.c as glibc hasMike Frysinger
2005-09-08make sure we use optimized version when building for newer intel/amd cpusMike Frysinger
2005-09-08import some fixes from glibcMike Frysinger
2005-09-08sync with glibc and import pthread_rwlock_timed{rd,wr}lock in the processMike Frysinger
2005-09-08uClibc has pthread_attr_{get,set}stack nowMike Frysinger
2005-09-08sync misc trivial touchups from glibcMike Frysinger
2005-09-08sync with glibc coding style to make further updates easierMike Frysinger
2005-09-08sync license with glibcMike Frysinger
2005-09-08sync license with glibcMike Frysinger