Fangrui Song
7334a4d5c3
elf: Drop elf/tls-macros.h in favor of __thread and tls_model attributes [BZ #28152 ] [BZ #28205 ]
...
elf/tls-macros.h was added for TLS testing when GCC did not support
__thread. __thread and tls_model attributes are mature now and have been
used by many newer tests.
Also delete tst-tls2.c which tests .tls_common (unused by modern GCC and
unsupported by Clang/LLD). .tls_common and .tbss definition are almost
identical after linking, so the runtime test doesn't add additional
coverage. Assembler and linker tests should be on the binutils side.
When LLD 13.0.0 is allowed in configure.ac
(https://sourceware.org/pipermail/libc-alpha/2021-August/129866.html ),
`make check` result is on par with glibc built with GNU ld on aarch64
and x86_64.
As a future clean-up, TLS_GD/TLS_LD/TLS_IE/TLS_IE macros can be removed from
sysdeps/*/tls-macros.h. We can add optional -mtls-dialect={gnu2,trad}
tests to ensure coverage.
Tested on aarch64-linux-gnu, powerpc64le-linux-gnu, and x86_64-linux-gnu.
Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
(cherry picked from commit 33c50ef42878b07ee6ead8b3f1a81d8c2c74697c)
2021-08-27 17:26:09 -07:00
..
2018-01-25 10:06:19 -08:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:26:02 -07:00
2021-08-27 17:23:12 -07:00
2018-03-13 11:53:48 -07:00
2014-03-10 14:02:07 -07:00
2018-03-28 19:31:45 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:23:12 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2014-03-10 14:02:07 -07:00
2021-08-27 17:26:07 -07:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:26:02 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:26:03 -07:00
2021-08-27 17:26:02 -07:00
2021-08-27 17:23:11 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:26:01 -07:00
2021-08-27 17:23:12 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:26:02 -07:00
2021-08-27 17:26:02 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:26:04 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:23:15 -07:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:23:12 -07:00
2021-08-27 17:23:12 -07:00
2018-01-25 10:06:19 -08:00
2018-01-01 00:32:25 +00:00
2016-01-07 04:03:21 -05:00
2018-01-18 15:18:30 -08:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2016-12-26 10:08:41 +01:00
2009-06-03 16:21:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2013-06-05 20:44:03 +00:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-06-22 15:07:40 -07:00
2013-06-05 20:44:03 +00:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-10-30 00:48:54 -07:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-11-06 09:30:56 -08:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-06-03 16:21:40 -07:00
2009-10-30 00:48:54 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2016-12-26 10:08:41 +01:00
2016-12-26 10:08:41 +01:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2009-06-22 15:07:40 -07:00
2016-12-26 10:08:41 +01:00
2009-10-30 00:48:54 -07:00
2016-12-26 10:08:41 +01:00
2009-06-22 15:07:40 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:41:16 +00:00
2018-01-01 00:41:16 +00:00
2015-08-14 22:32:51 -07:00
2017-06-27 17:52:42 +00:00
2021-08-27 17:26:09 -07:00
2012-01-07 23:57:22 -05:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2011-02-25 20:49:48 -05:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:41:16 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2013-08-21 19:48:48 +02:00
2013-08-21 19:48:48 +02:00
2012-07-27 14:03:20 +01:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:26:09 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2010-12-24 20:14:37 -05:00
2017-03-01 20:33:46 -05:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:41:16 +00:00
2018-01-01 00:41:16 +00:00
2018-01-01 00:32:25 +00:00
2017-06-14 10:47:25 +09:30
2013-06-05 20:44:03 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2012-11-16 07:40:38 -08:00
2012-11-16 07:40:38 -08:00
2017-04-05 10:34:58 -03:00
2012-11-14 15:44:40 -08:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-02-16 17:33:18 -05:00
2014-02-25 13:18:15 -05:00
2014-02-25 13:18:15 -05:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2021-08-27 16:22:12 -07:00
2021-08-27 16:22:12 -07:00
2018-01-01 00:32:25 +00:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-03-29 11:48:37 -07:00
2018-03-29 11:48:37 -07:00
2018-03-29 11:48:37 -07:00
2018-03-29 11:48:37 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2011-08-22 16:08:16 -04:00
2011-08-22 16:08:16 -04:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2012-10-20 16:16:59 -07:00
2017-12-15 20:22:29 -08:00
2018-01-04 18:46:24 +01:00
2018-01-04 18:46:24 +01:00
2018-01-04 18:46:24 +01:00
2018-01-04 18:46:24 +01:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-04-05 10:34:58 -03:00
2015-08-11 10:13:22 +02:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2015-07-07 11:06:56 -07:00
2015-07-07 11:06:56 -07:00
2015-07-07 11:06:56 -07:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2011-01-19 16:00:11 -05:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2015-11-14 12:00:38 -08:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2013-09-23 00:52:09 -04:00
2018-01-01 00:32:25 +00:00
2017-04-05 10:34:58 -03:00
2012-01-27 15:05:19 -05:00
2012-01-27 15:05:19 -05:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-04-05 10:34:58 -03:00
2017-09-30 01:39:32 -07:00
2021-08-27 17:26:09 -07:00
2021-08-27 17:26:09 -07:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2013-10-18 19:45:36 +05:30
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2017-04-05 10:34:58 -03:00
2011-05-14 21:25:43 -04:00
2011-05-14 21:25:43 -04:00
2011-05-14 21:25:43 -04:00
2017-04-05 10:34:58 -03:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2015-06-02 16:55:36 -07:00
2018-01-01 00:32:25 +00:00
2015-05-06 13:32:18 -07:00
2015-05-06 13:32:18 -07:00
2015-06-02 16:55:36 -07:00
2018-01-01 00:32:25 +00:00
2021-08-27 17:26:09 -07:00
2021-08-27 17:26:09 -07:00
2021-08-27 17:26:09 -07:00
2021-08-27 17:26:09 -07:00
2021-08-27 17:26:09 -07:00
2021-08-27 17:26:09 -07:00
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2013-10-18 19:45:36 +05:30
2013-10-18 19:45:36 +05:30
2013-10-18 19:45:36 +05:30
2011-09-10 14:34:15 -04:00
2013-10-18 19:45:36 +05:30
2013-10-18 19:45:36 +05:30
2008-10-17 15:24:10 +00:00
2008-10-17 15:24:10 +00:00
2008-10-31 20:50:16 +00:00
2017-04-05 10:34:58 -03:00
2015-10-19 22:34:20 +00:00
2015-10-19 22:34:20 +00:00
2017-04-05 10:34:58 -03:00
2015-10-19 22:34:20 +00:00
2015-10-19 22:34:20 +00:00
2012-01-25 16:50:17 +00:00
2011-03-10 12:51:33 -05:00
2012-01-25 16:50:17 +00:00
2012-01-25 16:50:17 +00:00
2012-01-25 16:50:17 +00:00
2011-05-12 21:59:09 -04:00
2014-12-16 10:26:48 +01:00
2018-05-09 11:25:42 -07:00
2021-08-27 17:26:06 -07:00
2021-08-27 17:26:07 -07:00
2011-08-24 09:32:13 +02:00
2011-08-24 09:32:13 +02:00
2011-08-24 09:32:13 +02:00
2021-08-27 17:23:11 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00