about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-08 23:43:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-08 23:43:17 +0000
commit116ae4fe5a70d99cf06088f0222a5913996f7f70 (patch)
tree28a7a4b2dd2f65b793c7938d26650a1be6e1a3c4 /sysdeps/unix
parent2d5a67dc89ec0e6c1799f0bf3e7eeef817ba3b16 (diff)
downloadglibc-116ae4fe5a70d99cf06088f0222a5913996f7f70.tar.gz
glibc-116ae4fe5a70d99cf06088f0222a5913996f7f70.tar.xz
glibc-116ae4fe5a70d99cf06088f0222a5913996f7f70.zip
Add localplt.data for sh.
This patch adds a localplt.data file for sh so that test passes.  The
architecture-specific entries are for _Unwind_Find_FDE, _exit and
__errno_location.

Tested for sh3 and sh4.

	* sysdeps/unix/sysv/linux/sh/localplt.data: New file.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/sh/localplt.data20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/localplt.data b/sysdeps/unix/sysv/linux/sh/localplt.data
new file mode 100644
index 0000000000..57f31c579a
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/sh/localplt.data
@@ -0,0 +1,20 @@
+# 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
+libc.so: _Unwind_Find_FDE
+libc.so: _exit
+libc.so: __errno_location
+libm.so: matherr
+# The dynamic loader uses __libc_memalign internally to allocate aligned
+# TLS storage. The other malloc family of functions are expected to allow
+# user symbol interposition.
+ld.so: __libc_memalign
+ld.so: malloc
+ld.so: calloc
+ld.so: realloc
+ld.so: free