Tomohiro Kashiwada
eb6d51a2fd
[Cygwin] Enable TLS on Cygwin target (#138618)
Cygwin environment and toolchain supports EMUTLS.
From
https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=config/tls.m4;hb=HEAD#l118,
```
$ LANG=C gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/15/lto-wrapper.exe Target: x86_64-pc-cygwin
Configured with: (snip)
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.1 20250406 (experimental) (GCC)
$ echo '__thread int a; int b; int main() { return a = b; }' | gcc -S -xc -o- - | grep __emutls_get_address
call __emutls_get_address
.def __emutls_get_address; .scl 2; .type 32; .endef
```
2025-05-06 23:38:18 +03:00
..
2025-05-06 23:38:18 +03:00
2024-06-03 11:09:13 +02:00
2025-03-10 11:19:45 -07:00
2025-03-15 11:01:53 -04:00
2024-05-28 15:38:02 +02:00
2025-04-29 12:13:38 -07:00
2025-01-02 23:01:28 -08:00
2025-04-25 11:37:56 -05:00
2025-04-03 16:09:57 -07:00
2025-04-15 04:18:23 -03:00
2025-04-22 12:43:02 -07:00
2025-04-15 09:43:01 +02:00
2024-10-21 08:20:22 -04:00
2025-05-02 09:39:20 -04:00
2025-05-06 13:29:19 -07:00
2024-10-28 12:48:42 -04:00
2025-04-19 13:35:18 -07:00
2025-05-01 16:29:48 -05:00
2025-04-18 13:57:50 -04:00
2024-09-16 07:46:58 -04:00
2025-01-30 09:37:16 -08:00
2024-07-25 00:13:00 -07:00
2025-04-13 03:04:58 -07:00
2025-04-30 19:14:15 -07:00
2024-10-18 10:11:14 +02:00
2024-11-20 16:24:45 +01:00
2025-03-27 20:14:25 -07:00
2025-04-10 10:55:10 +02:00
2025-04-28 07:43:26 -07:00
2024-11-20 16:24:45 +01:00
2024-05-16 13:01:18 +02:00
2025-02-06 10:18:38 +01:00