main: parse --dynamicbase linker arg

This commit is contained in:
kcbanner 2023-04-29 11:54:21 -04:00 committed by Jakub Konka
parent c83ab7cc6a
commit 440b3df702

View File

@ -2072,6 +2072,8 @@ fn buildOutputType(
linker_tsaware = true;
} else if (mem.eql(u8, arg, "--nxcompat")) {
linker_nxcompat = true;
} else if (mem.eql(u8, arg, "--dynamicbase")) {
linker_dynamicbase = true;
} else if (mem.eql(u8, arg, "--no-dynamicbase")) {
linker_dynamicbase = false;
} else if (mem.eql(u8, arg, "--high-entropy-va")) {