about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-12-20 13:56:57 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-12-20 13:56:57 -0500
commitd12455f59679faee885809258ae4f10449b1f2cf (patch)
tree0b2cdf79a969ed74c24a6aa61a0b2ecd2b91a46c
parent95dee05f17563f737e5a34fde97bdc7fa02a5185 (diff)
downloadglibc-d12455f59679faee885809258ae4f10449b1f2cf.tar.gz
glibc-d12455f59679faee885809258ae4f10449b1f2cf.tar.xz
glibc-d12455f59679faee885809258ae4f10449b1f2cf.zip
tile: provide localplt.data with __tls_get_addr optional
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/tile/localplt.data18
2 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 68a8531c2c..642f84dcb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
+
+	* sysdeps/unix/sysv/linux/tile/localplt.data: New file.
+
 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
 
 	* 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