在 2025-12-4 20:39, Eric Botcazou 写道:
Hi,The problem comes from a quirk of the GNU PE-COFF linker, which wants to make sure that .tls$ZZZ is laid out last among the TLS sections, but first globs all .tls$* sections together. The solution reportedly matches Clang's output. Tested on x86_64-w64-mingw32, OK for the mainline?
This matches Clang output here: https://gcc.godbolt.org/z/fMEjTEEad -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
