diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-12-03 11:13:38 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@gcc.gnu.org> | 2019-12-03 11:13:38 +0000 |
commit | 004843655a9f2c9ef4de56d43184adf0ae5095c9 (patch) | |
tree | 0c150fe2aefd8c793ed44a51fbcb9c56691eed0e /libitm | |
parent | 89ee3a872fdf460402d1fc137e5cdce20f62bc8e (diff) | |
download | gcc-004843655a9f2c9ef4de56d43184adf0ae5095c9.zip gcc-004843655a9f2c9ef4de56d43184adf0ae5095c9.tar.gz gcc-004843655a9f2c9ef4de56d43184adf0ae5095c9.tar.bz2 |
musl: Fix invalid tls model in libgomp and libitm PR91938
Musl does not support initial-exec tls in dynamically loaded shared
libraries.
libgomp/ChangeLog:
2019-12-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
PR libgomp/91938
* configure.tgt: Avoid IE tls on *-*-musl*.
libitm/ChangeLog:
2019-12-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
PR libgomp/91938
* configure.tgt: Avoid IE tls on *-*-musl*.
From-SVN: r278932
Diffstat (limited to 'libitm')
-rw-r--r-- | libitm/ChangeLog | 5 | ||||
-rw-r--r-- | libitm/configure.tgt | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog index 21035c0..53085d1 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,8 @@ +2019-12-03 Szabolcs Nagy <szabolcs.nagy@arm.com> + + PR libgomp/91938 + * configure.tgt: Avoid IE tls on *-*-musl*. + 2019-09-27 Maciej W. Rozycki <macro@wdc.com> * configure: Regenerate. diff --git a/libitm/configure.tgt b/libitm/configure.tgt index eea865d..0bdca11 100644 --- a/libitm/configure.tgt +++ b/libitm/configure.tgt @@ -31,6 +31,9 @@ if test "$gcc_cv_have_tls" = yes ; then case "${target}" in + *-*-musl*) + ;; + # For x86, we use slots in the TCB head for most of our TLS. # The setup of those slots in beginTransaction can afford to # use the global-dynamic model. |