On Sat, 1 Mar 2025, Jacek Caban wrote:

This is mandatory on ARM64EC and also required on AArch64 for ARM64X builds.
Instead of extending the existing logic, unify it by always including it in 
mingwex.

In practice, this means load config will always be present in output images 
when using
LLD. Since ld.bfd does not support load config, it remains unaffected.
---
mingw-w64-crt/Makefile.am                                  | 7 +------
mingw-w64-crt/configure.ac                                 | 4 +---
.../{cfguard/mingw_cfguard_loadcfg.S => crt/loadcfg.S}     | 0
3 files changed, 2 insertions(+), 9 deletions(-)
rename mingw-w64-crt/{cfguard/mingw_cfguard_loadcfg.S => crt/loadcfg.S} (100%)

I think this is ok. It's a notable functional change for LLD indeed, but I guess it should be ok, and we need to go this way for arm64ec/arm64x anyway, so making it consistent for all other architectures probably is fine too.

CC'ing Alvin on this one, who did the load config initially.

// Martin



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to