4 Dec
2025
4 Dec
'25
1:31 p.m.
@jacek hope I understand you correctly, you suggestion is to: 1. instead of using `#progma section` and `__declspec(allocate(..))`, we generate these `__xi_a`, etc. symbols from winebuild, similar to `_load_config_used`. 2. in winegcc, depends on the target, add a `-Wl,/merge:.CRT=.rdata` to the compile flags. And after these we also don't need `winecrtend` anymore. Is that what you have in mind? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9265#note_124700