summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/hppa
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-08 23:42:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-08 23:42:36 +0000
commit2d5a67dc89ec0e6c1799f0bf3e7eeef817ba3b16 (patch)
tree4cd5a8992a778a5952bc4a9ea76785e6ecb8ad82 /sysdeps/unix/sysv/linux/hppa
parent58d6b0d8655c0d9289527689eea471efc36636e2 (diff)
downloadglibc-2d5a67dc89ec0e6c1799f0bf3e7eeef817ba3b16.tar.gz
glibc-2d5a67dc89ec0e6c1799f0bf3e7eeef817ba3b16.tar.xz
glibc-2d5a67dc89ec0e6c1799f0bf3e7eeef817ba3b16.zip
Add localplt.data for hppa.
This patch adds a localplt.data file for hppa so that test passes.
Architecture maintainers should feel free to clean up the sysdeps code
so that some or all of the system-specific entries

libc.so: _exit
libc.so: __sigsetjmp
libc.so: _IO_funlockfile
libc.so: sigprocmask
libc.so: __errno_location
libpthread.so: __errno_location

are no longer needed.

Tested for hppa.  Note: check-execstack and check-textrel still fail;
you may wish to look at those to get to a clean baseline there (they
are less obvious for people not familiar with the architecture).

	* sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/localplt.data23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/localplt.data b/sysdeps/unix/sysv/linux/hppa/localplt.data
new file mode 100644
index 0000000000..2a25ebce46
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/hppa/localplt.data
@@ -0,0 +1,23 @@
+# 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: _exit
+libc.so: __sigsetjmp
+libc.so: _IO_funlockfile
+libc.so: sigprocmask
+libc.so: __errno_location
+libm.so: matherr
+libpthread.so: __errno_location
+# 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