summaryrefslogtreecommitdiff
path: root/libthreads/i386
AgeCommit message (Collapse)Author
2011-10-20Merge branch 'tls/libthreads'Thomas Schwinge
Conflicts: libthreads/ChangeLog
2011-10-20TLS support for libthreads.Samuel Thibault
* libthreads/cprocs.c (cproc_create): Call into glibc to allocate static TLS block. * libthreads/cthread_internals.h (tcbhead_t): New structure; as in glibc. (cproc_setup): Take TCB parameter. (_dl_allocate_tls): Declare; from glibc. * libthreads/alpha/thread.c (cproc_setup): Compile-time warning for missing TLS support. * libthreads/i386/thread.c (cproc_setup): Imlement TLS support.
2008-08-022008-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
[libpthread] * sysdeps/i386/bits/memory.h (__memory_barrier): Add memory clobber. * sysdeps/i386/bits/spin-lock.h (__pthread_spin_trylock, __pthread_spin_unlock): Add memory clobbers. [libthreads] * i386/cthreads.h (spin_unlock, spin_try_lock): Add memory clobbers.
2007-03-032006-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* libpthread/sysdeps/i386/machine-sp.h (thread_stack_pointer): Optimize esp read. * libpthread/i386/cthreads.h (cthread_sp): Likewise.
2002-05-272002-05-26 Roland McGrath <roland@frob.com>Roland McGrath
Changes merged from CMU MK83a version: * cthreads.h, options.h: Various cleanups. * call.c, cthread_data.c, sync.c, mig_support.c: Likewise. * i386/cthreads.h, i386/thread.c, i386/lock.s: Likewise. * cthread_internals.h: Add decls for internal functions. (struct cproc): Use vm_offset_t for stack_base and stack_size members. Use natural_t for context member. * cprocs.c: Use prototypes for all defns. * cthreads.c: Likewise. (cthread_exit): Cast any_t to integer_t before int.
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* i386/thread.c (cthread_sp): Use __thread_stack_pointer.
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* cthreads.h: Fix obsolescent #endif syntax. * cthread_internals.h: Likewise. * cancel-cond.c: Likewise. * stack.c: Likewise. * cthreads.c: Likewise. * cprocs.c: Likewise. * call.c: Likewise. * i386/thread.c: Likewise.
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* i386/thread.c: Remove superfluous bzero decl, just include <strings.h> instead.
2000-03-032000-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* i386/csw.S: #undef __ELF__ before defining it, since it is usually predefined.
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* i386/csw.S (cproc_prepare): Take address of cthread_body as third arg, so we don't have to deal with PIC magic to find its address without producing a text reloc. * cprocs.c (cproc_create): Pass &cthread_body to cproc_prepare.
1997-04-04Thu Apr 3 20:29:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* i386/csw.S: Define __ELF__ too.
1997-02-18(cproc_setup):Miles Bader
Correctly leave space at top of stack for account for GNU per-thread variables.
1996-10-24Mon Oct 21 22:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* i386/csw.S (CALL_MCOUNT): New macro. (cproc_swtich, cproc_start_wait, cproc_prepare): Use CALL_MCOUNT.
1996-08-29*** empty log message ***Thomas Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1995-10-04(JUMPTARGET): New macro, versions for [PIC] and not.Roland McGrath
Use it in place of EXT.
1995-10-04[PIC] (EXT): Redefine to use PLT.Roland McGrath
1995-05-12Use EXT macro instead of explicit underscores.Roland McGrath
1994-05-04entered into RCSMichael I. Bushnell
1994-05-04entered into RCSMichael I. Bushnell
1992-10-06Initial revisionMichael I. Bushnell
1992-10-06entered into RCSMichael I. Bushnell