cvs commit: src/lib/libthr/thread thr_spec.c

From: Marius Strobl <marius_at_FreeBSD.org>
Date: Sat, 10 Nov 2007 12:34:28 +0000 (UTC)
marius      2007-11-10 12:34:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    lib/libthr/thread    thr_spec.c 
  Log:
  MFC: 1.7
  
  In _pthread_key_create() ensure that libthr is initialized. This
  fixes a NULL-dereference of curthread when libstdc+ initializes
  the exception handling globals on archs we can't use GNU TLS due
  to lack of support in binutils 2.15 (i.e. arm and sparc64), yet,
  thus making threaded C++ programs compiled with GCC 4.2.1 work
  on these archs.
  
  Revision  Changes    Path
  1.3.2.1   +5 -1      src/lib/libthr/thread/thr_spec.c
Received on Sat Nov 10 2007 - 12:34:29 UTC