summary refs log tree commit diff
path: root/csu/Versions
diff options
context:
space:
mode:
Diffstat (limited to 'csu/Versions')
-rw-r--r--csu/Versions6
1 files changed, 5 insertions, 1 deletions
diff --git a/csu/Versions b/csu/Versions
index f0dfe91ca6..bd82a96149 100644
--- a/csu/Versions
+++ b/csu/Versions
@@ -17,10 +17,14 @@ libc {
     # New special glibc functions.
     gnu_get_libc_release; gnu_get_libc_version;
   }
-  GLIBC_2.3 {
+  GLIBC_PRIVATE {
 %if USE_TLS && HAVE___THREAD
     # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
     errno;
+%else
+    # This internal alias is solely to give libpthread access
+    # to the variable that is not directly user-visible at link time.
+    __libc_errno;
 %endif
   }
 }