upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorAyoze Torres <53948812+ayozetr@users.noreply.github.com>2026-11-22 02:25:15 +0000
committerAyoze Torres <53948812+ayozetr@users.noreply.github.com>2026-11-22 02:25:15 +0000
commit42e0b56c8d0ad0de7a9ce0ab0ef678abd93b089b (patch)
tree8e82d891e578cd9f5e89289d3b5a097b2cec9cc6 /runtime/src/main.cpp
parentc86977584a1b46f6579a1ddd12b72f74b6c436e0 (diff)
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.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions