]> sourceware.org Git - glibc.git/commitdiff
Add localplt.data for hppa.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 8 Nov 2016 23:42:36 +0000 (23:42 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 8 Nov 2016 23:42:36 +0000 (23:42 +0000)
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.

ChangeLog
sysdeps/unix/sysv/linux/hppa/localplt.data [new file with mode: 0644]

index a5f418584192b1c4ce335b5062eb164ff36a5aae..aa78eba6264433533cd96b3fea7a07074a0c1862 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
 
+       * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
+
        * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
        optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
        calloc, realloc, free, memalign and __libc_memalign rather than
diff --git a/sysdeps/unix/sysv/linux/hppa/localplt.data b/sysdeps/unix/sysv/linux/hppa/localplt.data
new file mode 100644 (file)
index 0000000..2a25ebc
--- /dev/null
@@ -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
This page took 0.16623 seconds and 5 git commands to generate.