From 171488a2de9fc38ce304487b5344059d49b190ef Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 2 Apr 2018 23:02:02 +0200 Subject: 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 Amos Jeffries David Michael 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 -- cgit v1.2.3