We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 832055a commit 76127a0Copy full SHA for 76127a0
lld/COFF/Writer.cpp
@@ -936,7 +936,8 @@ void Writer::createSections() {
936
// for the specific sections.
937
if (ctx.config.driver && (name == ".text" || name == ".data" ||
938
name == ".rdata" || name == ".pdata") ||
939
- ((outChars & (code | r | x)) == (code | r | x)) && name != "PAGE")
+ ((outChars & (code | r | x)) == (code | r | x)) && name != "PAGE" &&
940
+ name != "INIT")
941
outChars |= nonpaged;
942
OutputSection *&sec = sections[{name, outChars}];
943
if (!sec) {
0 commit comments