Index: tests/lib/libc/tls/dso/h_tls_dlopen.c =================================================================== RCS file: /cvsroot/src/tests/lib/libc/tls/dso/h_tls_dlopen.c,v retrieving revision 1.4 diff -u -p -r1.4 h_tls_dlopen.c --- tests/lib/libc/tls/dso/h_tls_dlopen.c 17 Jan 2012 20:34:57 -0000 1.4 +++ tests/lib/libc/tls/dso/h_tls_dlopen.c 20 Oct 2013 13:50:01 -0000 @@ -45,6 +45,7 @@ __RCSID("$NetBSD: h_tls_dlopen.c,v 1.4 2 extern __thread int var1; extern __thread int var2; extern __thread int *var3; +__thread int var4 = 1; static __thread pid_t (*local_var)(void) = getpid; void testf_dso_helper(int x, int y);