Commit Graph

2 Commits

Author SHA1 Message Date
42e0b56c8d runtime: keep the loader off the default EXE base; loader_tls copies with CopyFileW
Under Wine the host EXE stays at its preferred base, so gta6rt and
loader_test at 0x140000000 took the address a mapped EXE without
relocations needs (loader_test: "preferred base is taken"). Link them at
0x10000000000; Windows relocates them with ASLR either way.

loader_tls_test copied its fixture with std::filesystem::copy_file,
which MSVC implements with CopyFile2, missing from Wine 9.
2026-11-22 02:25:15 +00:00
993a2cbf72 Runtime: install static TLS for mapped images 2026-11-21 23:29:24 +00:00