]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
tile: provide localplt.data with __tls_get_addr optional
authorChris Metcalf <cmetcalf@ezchip.com>
Sat, 20 Dec 2014 18:56:57 +0000 (13:56 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Sat, 20 Dec 2014 18:56:57 +0000 (13:56 -0500)
ChangeLog
sysdeps/unix/sysv/linux/tile/localplt.data [new file with mode: 0644]

index 68a8531c2c08190bbc4ec0c38fc649d0c7be3a8e..642f84dcb0b9762a8ab662d33a1af245565062a0 100644 (file)
--- 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 (file)
index 0000000..7653ae3
--- /dev/null
@@ -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