================ @@ -696,6 +699,7 @@ void Writer::run() { writeHeader<pe32_header>(); } writeSections(); + changeLoadConfig(); ---------------- tru wrote: Should this run even if `dependentloadflag` is not set? https://github.com/llvm/llvm-project/pull/71537