[hurd,commited] hurd: whitelist rtld symbols expected to be overridable

Message ID 20180402210230.8437-1-samuel.thibault@ens-lyon.org
State New
Headers show
  • [hurd,commited] hurd: whitelist rtld symbols expected to be overridable
Related show

Commit Message

Samuel Thibault April 2, 2018, 9:02 p.m.
* 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
+	* 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