Hi,
> .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.
The patch in itself probably is right, but can you explain your usecase a
bit more?
LNK4254 is a link.exe error; linking mingw object
Hi,
On Sat, 17 May 2025, Yang Kun wrote:
.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.
The patch in itself probably is right, but can you explain your usecase a
bit more?
LNK4254 is a li
在 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
---
mingw-w64-crt
.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
---
mingw-w64-crt/include/sect_attribs.h | 93 +