aboutsummaryrefslogtreecommitdiff
path: root/libthreads/libthreads.map
diff options
context:
space:
mode:
Diffstat (limited to 'libthreads/libthreads.map')
-rw-r--r--libthreads/libthreads.map19
1 files changed, 19 insertions, 0 deletions
diff --git a/libthreads/libthreads.map b/libthreads/libthreads.map
new file mode 100644
index 00000000..28c85017
--- /dev/null
+++ b/libthreads/libthreads.map
@@ -0,0 +1,19 @@
+/* This is the version script file used for building libthreads.so. -*- C -*-
+ It is in the form of a linker script, to be including as an input
+ file in the link command, rather than with --version-script. */
+
+ /* We only define these symbols when built against a libio-using libc,
+ which we presume will be 2.2 that is expecting our lockfile.c hooks.
+ For now, the rest of the library's symbols remain unversioned. */
+
+VERSION
+{
+ GLIBC_2.2
+ {
+ global:
+ _IO_flockfile; _IO_funlockfile; _IO_ftrylockfile;
+ flockfile; funlockfile; ftrylockfile;
+ local:
+ _cthreads_flockfile; _cthreads_funlockfile; _cthreads_ftrylockfile;
+ };
+};