diff options
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r-- | lld/ELF/OutputSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 278e5c586e5..4eda44549d9 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -1836,7 +1836,7 @@ OutputSectionFactory<ELFT>::create(InputSectionBase<ELFT> *C, if (Sec) return {Sec, false}; - switch (C->SectionKind) { + switch (C->kind()) { case InputSectionBase<ELFT>::Regular: Sec = new OutputSection<ELFT>(Key.Name, Key.Type, Key.Flags); break; |