about summary refs log tree commit diff
path: root/csu/Versions
diff options
context:
space:
mode:
Diffstat (limited to 'csu/Versions')
-rw-r--r--csu/Versions4
1 files changed, 2 insertions, 2 deletions
diff --git a/csu/Versions b/csu/Versions
index f0b4f00549..a1321a9df8 100644
--- a/csu/Versions
+++ b/csu/Versions
@@ -5,7 +5,7 @@ libc {
     # helper functions
     __libc_init_first; __libc_start_main;
 
-%if !HAVE___THREAD
+%if !(USE_TLS && HAVE___THREAD)
     # global variables
     _errno;
 
@@ -18,7 +18,7 @@ libc {
     gnu_get_libc_release; gnu_get_libc_version;
   }
   GLIBC_PRIVATE {
-%if HAVE___THREAD
+%if USE_TLS && HAVE___THREAD
     # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
     errno;
 %endif