File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1445,9 +1445,9 @@ static void finalizeSynthetic(Ctx &ctx, SyntheticSection *sec) {
14451445}
14461446
14471447static bool canInsertPadding (OutputSection *sec) {
1448- StringRef s = sec->name ;
1449- return s == " .bss" || s == " .data" || s == " .data.rel.ro" ||
1450- s == " .rodata " || s.starts_with (" .text" );
1448+ StringRef s = sec->name ;
1449+ return s == " .bss" || s == " .data" || s == " .data.rel.ro" || s == " .rodata " ||
1450+ s.starts_with (" .text" );
14511451}
14521452
14531453static void shufflePadding (Ctx &ctx) {
@@ -1465,8 +1465,9 @@ static void shufflePadding(Ctx &ctx) {
14651465 curPtLoad = os->ptLoad ;
14661466 }
14671467 for (InputSection *isec : isd->sections ) {
1468- if (g () < (1 <<28 ))
1469- tmp.push_back (make<ShufflePaddingSection>(ctx, isec->addralign , os));
1468+ if (g () < (1 << 28 ))
1469+ tmp.push_back (
1470+ make<ShufflePaddingSection>(ctx, isec->addralign , os));
14701471 tmp.push_back (isec);
14711472 }
14721473 isd->sections = std::move (tmp);
You can’t perform that action at this time.
0 commit comments