Fix SECTION UNION alignment depending on piece order

This commit is contained in:
Rangi
2026-01-06 17:53:47 -05:00
committed by Rangi
parent 92bfe5d930
commit a91d26192d
6 changed files with 36 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ static void checkSectUnionCompat(Section &target, Section &other) {
if (checkAgainstFixedAlign(target, other, other.alignOfs)) {
target.isAlignFixed = true;
target.alignMask = other.alignMask;
target.alignOfs = other.alignOfs;
}
}
}