在 2025-5-17 16:16, Yang Kun 写道:
.CRT section is combined into .rdata which doesn't have shared attribute but
read only. If we declare it with shared, it will causes LNK4254 warning.

Also remove the read and write attribute in .tls as this is default.

Signed-off-by: Yang Kun <[email protected]>
---
  mingw-w64-crt/include/sect_attribs.h | 93 +++++++++++++---------------
  1 file changed, 43 insertions(+), 50 deletions(-)

Thanks for the patch. Looks good to me. Pushed to master now.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to