Skip to content

Commit 52d777f

Browse files
Tentative fix for r351701 and gcc 6.2 build on ubuntu
llvm-svn: 351728
1 parent dca1252 commit 52d777f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lld/ELF/SyntheticSections.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,9 @@ class MipsGotSection final : public SyntheticSection {
316316
size_t StartIndex = 0;
317317

318318
struct PageBlock {
319-
size_t FirstIndex = 0;
320-
size_t Count = 0;
319+
size_t FirstIndex;
320+
size_t Count;
321+
PageBlock() : FirstIndex(0), Count(0) {}
321322
};
322323

323324
// Map output sections referenced by MIPS GOT relocations

0 commit comments

Comments
 (0)