diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:41 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:41 +0000 |
| commit | 022ebf5bbf58ca2dd943d3376cc95a6b206db799 (patch) | |
| tree | 4069ef3b75eed2d68683cb6224a627c24cd95b15 /ELF/InputFiles.cpp | |
| parent | fbe69f787ace06f44b6cb1bd3cd45ac703a16a05 (diff) | |
Notes
Diffstat (limited to 'ELF/InputFiles.cpp')
| -rw-r--r-- | ELF/InputFiles.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ELF/InputFiles.cpp b/ELF/InputFiles.cpp index 5f94fc9338a4..fe036a644f41 100644 --- a/ELF/InputFiles.cpp +++ b/ELF/InputFiles.cpp @@ -383,9 +383,9 @@ elf::ObjectFile<ELFT>::createInputSection(const Elf_Shdr &Sec, // we see. The eglibc ARM dynamic loaders require the presence of an // attribute section for dlopen to work. // In a full implementation we would merge all attribute sections. - if (In<ELFT>::ARMAttributes == nullptr) { - In<ELFT>::ARMAttributes = make<InputSection>(this, &Sec, Name); - return In<ELFT>::ARMAttributes; + if (InX::ARMAttributes == nullptr) { + InX::ARMAttributes = make<InputSection>(this, &Sec, Name); + return InX::ARMAttributes; } return &InputSection::Discarded; case SHT_RELA: |
