summaryrefslogtreecommitdiffstats
path: root/lib/libc_r
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>1999-08-17 09:50:21 +0000
committerrse <rse@FreeBSD.org>1999-08-17 09:50:21 +0000
commit92b4aa211db5f806c93ae4cf3ee71ae463cbb989 (patch)
treeb11205652938992d1bf8506c9c4f97aeeec7967b /lib/libc_r
parent9678cebf8985bd964cd798e432c3a33f5d51da20 (diff)
downloadFreeBSD-src-92b4aa211db5f806c93ae4cf3ee71ae463cbb989.zip
FreeBSD-src-92b4aa211db5f806c93ae4cf3ee71ae463cbb989.tar.gz
Fix description of the _thread_autoinit_dummy_decl trick.
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/uthread/uthread_autoinit.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/uthread_autoinit.cc b/lib/libc_r/uthread/uthread_autoinit.cc
index 1cebd75..033f01f 100644
--- a/lib/libc_r/uthread/uthread_autoinit.cc
+++ b/lib/libc_r/uthread/uthread_autoinit.cc
@@ -72,9 +72,9 @@ static _thread_init_invoker the_thread_init_invoker;
* Namely, we must arrange for this particular module to be pulled in from
* the archive library at link time. To accomplish that, we define and
* initialize a variable, "_thread_autoinit_dummy_decl". This variable is
- * referenced (as an extern) from the module "uthread_init.c". So, if
- * that module is used, then it will create a need for this module as well,
- * ensuring that this module will be present in the executable.
+ * referenced (as an extern) from libc/stdlib/exit.c. This will always
+ * create a need for this module, ensuring that it is present in the
+ * executable.
*
* We know that, if the user does _anything_ at all with threads, then the
* "uthread_init.c" module will be linked in. That is the case because
OpenPOWER on IntegriCloud