about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-01-09 16:09:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-01-09 16:09:53 +0000
commitc35db50ff51480c39e5ce493561df1c4581da9fc (patch)
treea83440f69b8260262d9137a69aff41813fe7d985
parent75dafa2f323555600a1d1675de6eea09d25e3482 (diff)
downloadglibc-c35db50ff51480c39e5ce493561df1c4581da9fc.tar.gz
glibc-c35db50ff51480c39e5ce493561df1c4581da9fc.tar.xz
glibc-c35db50ff51480c39e5ce493561df1c4581da9fc.zip
Update MicroBlaze localplt.data.
This patch updates the MicroBlaze localplt.data based on the results
of a build with build-many-glibcs.py.  This is simply an empirical
update; quite possibly the port could be optimized to remove more
local PLT entry usage.

Tested (compilation tests) with build-many-glibcs.py.

	* sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
	Add libc.so PLT entry.
	(__tls_get_addr): Make ld.so PLT entry optional.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/localplt.data3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8454cd627e..1454293354 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-01-09  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
+	Add libc.so PLT entry.
+	(__tls_get_addr): Make ld.so PLT entry optional.
+
 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* string/bits/strings_fortified.h (explicit_bzero): Move back to ..
diff --git a/sysdeps/unix/sysv/linux/microblaze/localplt.data b/sysdeps/unix/sysv/linux/microblaze/localplt.data
index 07bcf3b29a..418783229b 100644
--- a/sysdeps/unix/sysv/linux/microblaze/localplt.data
+++ b/sysdeps/unix/sysv/linux/microblaze/localplt.data
@@ -1,4 +1,5 @@
 libc.so: __errno_location
+libc.so: __pread64
 libc.so: calloc
 libc.so: free
 libc.so: malloc
@@ -7,7 +8,7 @@ libc.so: realloc
 libm.so: matherr
 libpthread.so: __errno_location
 # The dynamic loader needs __tls_get_addr for TLS.
-ld.so: __tls_get_addr
+ld.so: __tls_get_addr ?
 # The main malloc is interposed into the dynamic linker, for
 # allocations after the initial link (when dlopen is used).
 ld.so: malloc