about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/mach/hurd/Versions
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/mach/hurd/Versions')
-rw-r--r--REORG.TODO/sysdeps/mach/hurd/Versions37
1 files changed, 37 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/mach/hurd/Versions b/REORG.TODO/sysdeps/mach/hurd/Versions
new file mode 100644
index 0000000000..89e19061af
--- /dev/null
+++ b/REORG.TODO/sysdeps/mach/hurd/Versions
@@ -0,0 +1,37 @@
+libc {
+  GLIBC_2.0 {
+    # functions with a weak definition in the dynamic linker
+    __getcwd; __mmap;
+  }
+  GLIBC_PRIVATE {
+    # Functions shared with the dynamic linker
+    __libc_read; __libc_write; __libc_lseek64;
+
+    _dl_init_first;
+  }
+}
+
+ld {
+  GLIBC_2.0 {
+    # variables that must be shared with libc
+    __hurd_sigthread_stack_base; __hurd_sigthread_stack_end;
+    __hurd_sigthread_variables;
+    __hurd_threadvar_stack_mask;  __hurd_threadvar_stack_offset;
+
+    # functions that must be shared with libc
+    __close; __getcwd; __getpid;
+    __mmap; __open; __xstat64; __fxstat64;
+    _exit; _hurd_intr_rpc_mach_msg;
+    abort;
+  }
+  GLIBC_2.2.6 {
+    # this also must be shared with libc.
+    __errno_location;
+  }
+  GLIBC_PRIVATE {
+    _dl_init_first;
+
+    # functions that must be shared with libc
+    __libc_read; __libc_write; __libc_lseek64;
+  }
+}