From owner-cvs-lib Fri Feb 16 18:19:49 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA24159 for cvs-lib-outgoing; Fri, 16 Feb 1996 18:19:49 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA24140 Fri, 16 Feb 1996 18:19:39 -0800 (PST) Date: Fri, 16 Feb 1996 18:19:39 -0800 (PST) From: John Polstra Message-Id: <199602170219.SAA24140@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc_r/net Makefile.inc src/lib/libc_r/uthread uthread_autoinit.cc Makefile.inc uthread_init.c Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk jdp 96/02/16 18:19:38 Modified: lib/libc_r/net Makefile.inc Log: Removed "iso_addr.c" from the Makefile. Support for it has been removed from the system, and a required include file no longer exists. Revision Changes Path 1.2 +1 -1 src/lib/libc_r/net/Makefile.inc Modified: lib/libc_r/uthread Makefile.inc uthread_init.c Added: lib/libc_r/uthread uthread_autoinit.cc Log: Added a new module "uthread_autoinit.cc". This is a small C++ module. It uses a static constructor to call _thread_init() at program start-up time. That eliminates the need for any initialization hooks in crt0.o. Added a symbol reference in "uthread_init.c", to ensure that the new module will always be pulled in when the archive version of the library is used. In "Makefile.inc", defined CPLUSPLUSLIB, so that the constructor will be properly invoked in the shared library. Suggested by: Christopher Provenzano, Peter Wemm, and others. Revision Changes Path 1.2 +4 -1 src/lib/libc_r/uthread/Makefile.inc 1.2 +12 -0 src/lib/libc_r/uthread/uthread_init.c