aboutsummaryrefslogtreecommitdiff
path: root/csu
diff options
context:
space:
mode:
Diffstat (limited to 'csu')
-rw-r--r--csu/Versions16
1 files changed, 13 insertions, 3 deletions
diff --git a/csu/Versions b/csu/Versions
index 10c962d..f0dfe91 100644
--- a/csu/Versions
+++ b/csu/Versions
@@ -1,16 +1,26 @@
+%include <tls.h>
+
libc {
GLIBC_2.0 {
- # global variables
- _errno;
-
# helper functions
__libc_init_first; __libc_start_main;
+%if !(USE_TLS && HAVE___THREAD)
+ # global variables
+ _errno;
+
# variables in normal name space
errno;
+%endif
}
GLIBC_2.1 {
# New special glibc functions.
gnu_get_libc_release; gnu_get_libc_version;
}
+ GLIBC_2.3 {
+%if USE_TLS && HAVE___THREAD
+ # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
+ errno;
+%endif
+ }
}