This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch hjl/pr21609/master updated. glibc-2.25-675-g0418625
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 4 Jul 2017 16:26:38 -0000
- Subject: GNU C Library master sources branch hjl/pr21609/master updated. glibc-2.25-675-g0418625
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, hjl/pr21609/master has been updated
via 04186257d5d6fd0b6b8c69e86558209c3fa25902 (commit)
from eb4dd17f2f8222278567dc085071bd85c6669cc4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=04186257d5d6fd0b6b8c69e86558209c3fa25902
commit 04186257d5d6fd0b6b8c69e86558209c3fa25902
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Jul 4 09:24:09 2017 -0700
Add ___tls_get_addr
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/ld.abilist b/sysdeps/unix/sysv/linux/x86_64/64/ld.abilist
index 07cab4b..884e52c 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/ld.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/ld.abilist
@@ -6,6 +6,8 @@ GLIBC_2.2.5 calloc F
GLIBC_2.2.5 free F
GLIBC_2.2.5 malloc F
GLIBC_2.2.5 realloc F
+GLIBC_2.26 GLIBC_2.26 A
+GLIBC_2.26 ___tls_get_addr F
GLIBC_2.3 GLIBC_2.3 A
GLIBC_2.3 __tls_get_addr F
GLIBC_2.4 GLIBC_2.4 A
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist
index 236357b..d42a7a4 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist
@@ -7,3 +7,5 @@ GLIBC_2.16 calloc F
GLIBC_2.16 free F
GLIBC_2.16 malloc F
GLIBC_2.16 realloc F
+GLIBC_2.26 GLIBC_2.26 A
+GLIBC_2.26 ___tls_get_addr F
diff --git a/sysdeps/x86_64/Versions b/sysdeps/x86_64/Versions
index a437f85..b8c25c9 100644
--- a/sysdeps/x86_64/Versions
+++ b/sysdeps/x86_64/Versions
@@ -10,3 +10,9 @@ libm {
exp2l;
}
}
+ld {
+ GLIBC_2.26 {
+ # The alternative x86-64 runtime interface to TLS with aligned stack.
+ ___tls_get_addr;
+ }
+}
diff --git a/sysdeps/x86_64/dl-tls.c b/sysdeps/x86_64/dl-tls.c
index 567224e..3584805 100644
--- a/sysdeps/x86_64/dl-tls.c
+++ b/sysdeps/x86_64/dl-tls.c
@@ -25,13 +25,13 @@
/* Define __tls_get_addr within elf/dl-tls.c under a different
name. */
-extern __typeof__ (__tls_get_addr) __tls_get_addr_default;
+extern __typeof__ (__tls_get_addr) ___tls_get_addr;
-# define __tls_get_addr __tls_get_addr_default
+# define __tls_get_addr ___tls_get_addr
# include <elf/dl-tls.c>
# undef __tls_get_addr
-hidden_ver (__tls_get_addr_default, __tls_get_addr)
+hidden_ver (___tls_get_addr, __tls_get_addr)
/* Only handle slow paths for __tls_get_addr. */
attribute_hidden
-----------------------------------------------------------------------
Summary of changes:
sysdeps/unix/sysv/linux/x86_64/64/ld.abilist | 2 ++
sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist | 2 ++
sysdeps/x86_64/Versions | 6 ++++++
sysdeps/x86_64/dl-tls.c | 6 +++---
4 files changed, 13 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources