[PATCH/committed] ia64: drop __tls_get_addr from expected ld.so plt usage

Message ID 1438075983-14315-1-git-send-email-vapier@gentoo.org
State Committed
Delegated to: Mike Frysinger
Headers

Commit Message

Mike Frysinger July 28, 2015, 9:33 a.m. UTC
  This file was updated with an educated guess as to the symbols needed,
but on ia64, we don't have __tls_get_addr calls, so drop it from the
list.
---
 ChangeLog                                  | 4 ++++
 sysdeps/unix/sysv/linux/ia64/localplt.data | 7 +++----
 2 files changed, 7 insertions(+), 4 deletions(-)
  

Patch

diff --git a/ChangeLog b/ChangeLog
index cd2d827..c753d5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@ 
 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
 
+	* sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
+
+2015-07-27  Mike Frysinger  <vapier@gentoo.org>
+
 	* sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
 	directly in terms of __sync_fetch_and_add and delete (int) cast.
 
diff --git a/sysdeps/unix/sysv/linux/ia64/localplt.data b/sysdeps/unix/sysv/linux/ia64/localplt.data
index bc2ce41..b628ca4 100644
--- a/sysdeps/unix/sysv/linux/ia64/localplt.data
+++ b/sysdeps/unix/sysv/linux/ia64/localplt.data
@@ -6,10 +6,9 @@  libc.so: realloc
 libm.so: matherr
 libm.so: matherrf
 libm.so: matherrl
-# The dynamic loader needs __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
+# 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