From d12455f59679faee885809258ae4f10449b1f2cf Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Sat, 20 Dec 2014 13:56:57 -0500 Subject: tile: provide localplt.data with __tls_get_addr optional --- ChangeLog | 4 ++++ sysdeps/unix/sysv/linux/tile/localplt.data | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/tile/localplt.data diff --git a/ChangeLog b/ChangeLog index 68a8531c2c..642f84dcb0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-12-20 Chris Metcalf + + * sysdeps/unix/sysv/linux/tile/localplt.data: New file. + 2014-12-19 Chris Metcalf * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not diff --git a/sysdeps/unix/sysv/linux/tile/localplt.data b/sysdeps/unix/sysv/linux/tile/localplt.data new file mode 100644 index 0000000000..7653ae355b --- /dev/null +++ b/sysdeps/unix/sysv/linux/tile/localplt.data @@ -0,0 +1,18 @@ +# See scripts/check-localplt.awk for how this file is processed. +# PLT use is required for the malloc family and for matherr because +# users can define their own functions and have library internals call them. +libc.so: calloc +libc.so: free +libc.so: malloc +libc.so: memalign +libc.so: realloc +libm.so: matherr +# The dynamic loader may use __tls_get_addr for TLS, and uses __libc_memalign +# internally to allocate aligned TLS storage. The other malloc family of +# functions are expected to allow user symbol interposition. +ld.so: __tls_get_addr ? +ld.so: __libc_memalign +ld.so: malloc +ld.so: calloc +ld.so: realloc +ld.so: free -- cgit 1.4.1