summaryrefslogtreecommitdiff
path: root/lib/libc_r
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1998-12-21 07:45:13 +0000
committerDavid Leonard <d@cvs.openbsd.org>1998-12-21 07:45:13 +0000
commit0c6d2e95c92c40573878f74275b2e425e727b076 (patch)
tree9cbbe6f00bb01dc106d1c9571c3597e2c3f1b4b4 /lib/libc_r
parent9376fbf9ff76484a62daa8c832b035ca99980c16 (diff)
add variable to force linkage
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/uthread/uthread_autoinit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_autoinit.c b/lib/libc_r/uthread/uthread_autoinit.c
index 6cebea471ac..0fdf5ca58e9 100644
--- a/lib/libc_r/uthread/uthread_autoinit.c
+++ b/lib/libc_r/uthread/uthread_autoinit.c
@@ -51,3 +51,8 @@ _thread_init_constructor()
}
#endif /* GNU C */
+/*
+ * Dummy symbol referenced by uthread_init.o so this compilation unit
+ * is always loaded.
+ */
+int _thread_autoinit_hook = 0;