diff options
Diffstat (limited to 'lld/ELF/Writer.cpp')
| -rw-r--r-- | lld/ELF/Writer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index b0c23df4dc6..835f4d0bcde 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -844,9 +844,9 @@ template <class ELFT> void Writer<ELFT>::addReservedSymbols() { if (ScriptConfig->HasSections) return; - // __ehdr_start is the location of ELF file headers. + // __ehdr_start is the location of program headers. ElfSym<ELFT>::EhdrStart = - addOptionalSynthetic<ELFT>("__ehdr_start", Out<ELFT>::ElfHeader, 0); + addOptionalSynthetic<ELFT>("__ehdr_start", Out<ELFT>::ProgramHeaders, 0); auto Define = [](StringRef S, DefinedSynthetic *&Sym1, DefinedSynthetic *&Sym2) { |

