https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881
--- Comment #45 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > c) Emit complete TLS sequence in legitimize_tls_address (i386.cc). Please > see TLS_MODEL_INITIAL_EXEC part for your case. Note that there is no indirection on the offset for TARGET_WIN32_TLS so it's similar to TLS_MODEL_LOCAL_EXEC rather than to TLS_MODEL_INITIAL_EXEC.