From owner-cvs-all Sat May 11 1:13:48 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 04AA737B406; Sat, 11 May 2002 01:13:43 -0700 (PDT) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4B8Dgo23554; Sat, 11 May 2002 01:13:42 -0700 (PDT) (envelope-from alfred) Message-Id: <200205110813.g4B8Dgo23554@freefall.freebsd.org> From: Alfred Perlstein Date: Sat, 11 May 2002 01:13:42 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread Makefile.inc uthread_autoinit.c uthread_autoinit.cc X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG alfred 2002/05/11 01:13:42 PDT Modified files: lib/libc_r/uthread Makefile.inc Added files: lib/libc_r/uthread uthread_autoinit.c Removed files: lib/libc_r/uthread uthread_autoinit.cc Log: Use GCC's __attribute__ ((constructor)) mechanism to invoke the pthread startup code rather than a static C++ object since c++ seems to be broken. This doesn't seem to work for staticically linked program just yet, I'll give that some more work when I get a chance. Revision Changes Path 1.31 +1 -1 src/lib/libc_r/uthread/Makefile.inc 1.1 +61 -0 src/lib/libc_r/uthread/uthread_autoinit.c (new) 1.4 +0 -89 src/lib/libc_r/uthread/uthread_autoinit.cc (dead) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message