This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[hurd,commited] hurd: whitelist rtld symbols expected to be overridable
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sourceware dot org
- Cc: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Date: Mon, 2 Apr 2018 23:02:30 +0200
- Subject: [hurd,commited] hurd: whitelist rtld symbols expected to be overridable
* sysdeps/mach/hurd/localplt.data: New file.
---
ChangeLog | 2 ++
sysdeps/mach/hurd/localplt.data | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 sysdeps/mach/hurd/localplt.data
diff --git a/ChangeLog b/ChangeLog
index cbc98364a0..c0433c9013 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -346,6 +346,8 @@
__clock_gettime and __nanosleep instead of clock_gettime and
nanosleep.
+ * sysdeps/mach/hurd/localplt.data: New file.
+
2018-04-02 Agustina Arzille <avarzille@riseup.net>
Amos Jeffries <squid3@treenet.co.nz>
David Michael <fedora.dm0@gmail.com>
diff --git a/sysdeps/mach/hurd/localplt.data b/sysdeps/mach/hurd/localplt.data
new file mode 100644
index 0000000000..dea460b4b0
--- /dev/null
+++ b/sysdeps/mach/hurd/localplt.data
@@ -0,0 +1,20 @@
+# The dynamic linker has its own versions of basic functions for initial loading
+# of shared libraries. These need to be overriden by libc once loaded.
+ld.so: __open
+ld.so: __close
+ld.so: __libc_read
+ld.so: __libc_write
+ld.so: __writev
+ld.so: __libc_lseek64
+ld.so: __map
+ld.so: __fxstat64
+ld.so: __xstat64
+ld.so: __access
+ld.so: __access_noerrno
+ld.so: __getpid
+ld.so: __getcwd
+ld.so: __sbrk
+ld.so: __strtoul_internal
+ld.so: _exit
+ld.so: abort
+ld.so: _hurd_intr_rpc_mach_msg
--
2.16.2