diff options
author | Fangrui Song <maskray@google.com> | 2019-04-12 02:16:15 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-04-12 02:16:15 +0000 |
commit | 88838d5be75ae211ef5cbe47044eb4bb50c9fad6 (patch) | |
tree | c95351ea12f764492b02de80bb2d27d7f35b8878 /llvm/lib/MC/ELFObjectWriter.cpp | |
parent | cecc4352508928f7ceeeee92fcde2986a5c55535 (diff) | |
download | bcm5719-llvm-88838d5be75ae211ef5cbe47044eb4bb50c9fad6.tar.gz bcm5719-llvm-88838d5be75ae211ef5cbe47044eb4bb50c9fad6.zip |
[MC] Fix typo: .symtab_shndxr -> .symtab_shndx
This special section is named .symtab_shndx, according to gABI Chapter 4
Sections, and the name is used by some other tools. Though the section
type SHT_SYMTAB_SHNDX is what really matters, let's fix the typo
introduced in rL204769 :)
llvm-svn: 358247
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/ELFObjectWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index 4e0a4f45431..1d4f3afe2ea 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -714,7 +714,7 @@ void ELFWriter::computeSymbolTable( if (HasLargeSectionIndex) { MCSectionELF *SymtabShndxSection = - Ctx.getELFSection(".symtab_shndxr", ELF::SHT_SYMTAB_SHNDX, 0, 4, ""); + Ctx.getELFSection(".symtab_shndx", ELF::SHT_SYMTAB_SHNDX, 0, 4, ""); SymtabShndxSectionIndex = addToSectionTable(SymtabShndxSection); SymtabShndxSection->setAlignment(4); } |