This matches lld-link's own default.
Add a new command line option --no-dynamicbase for disabling it. (Unfortunately, GNU ld doesn't yet have a matching --no-dynamicbase option, as that's the default there.)
Differential D86654
[LLD] [MinGW] Enable dynamicbase by default mstorsjo on Aug 26 2020, 12:54 PM. Authored by
Details This matches lld-link's own default. Add a new command line option --no-dynamicbase for disabling it. (Unfortunately, GNU ld doesn't yet have a matching --no-dynamicbase option, as that's the default there.)
Diff Detail
Event TimelineComment Actions This really should have been the default for years but it didn't work properly with ld.bfd: https://github.com/msys2/MINGW-packages/issues/6674 |