summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-07-24 16:35:52 +0930
committerAlan Modra <amodra@gmail.com>2018-07-24 19:58:12 +0930
commit67ce483baa43121a17195efe4b14a183e9fd8232 (patch)
treea623e87fbad16d4c23efbf073dba1271303e2fec /include
parent4174bfff8a88f21659446cf631dbbbad615b4a9e (diff)
downloadbinutils-gdb-67ce483baa43121a17195efe4b14a183e9fd8232.tar.gz
PR23430, Indices misspelled
PR 23430 include/ * elf/common.h (SHT_SYMTAB_SHNDX): Fix comment typo. bfd/ * dwarf2.c (dwarf_debug_section_enum): Fix comment typo. * elf.c (bfd_section_from_shdr, elf_sort_sections): Likewise. binutils/ * elfcomm.h (struct archive_info): Rename uses_64bit_indicies to uses_64bit_indices. * elfcomm.c (setup_archive): Update uses of above. * readelf.c (process_archive): Likewise. (get_section_type_name): Rename indicies to indices. (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise. (process_section_groups): Likewise. cpu/ * or1kcommon.cpu (spr-reg-indices): Fix description typo. opcodes/ * or1k-desc.h: Regenerate.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/elf/common.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 64224c6e00b..c408eb7d4ca 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-24 Alan Modra <amodra@gmail.com>
+
+ PR 23430
+ * elf/common.h (SHT_SYMTAB_SHNDX): Fix comment typo.
+
2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
Maciej W. Rozycki <macro@mips.com>
diff --git a/include/elf/common.h b/include/elf/common.h
index 773f378fde1..3a6244dc6dc 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -498,7 +498,7 @@
#define SHT_FINI_ARRAY 15 /* Array of ptrs to finish functions */
#define SHT_PREINIT_ARRAY 16 /* Array of ptrs to pre-init funcs */
#define SHT_GROUP 17 /* Section contains a section group */
-#define SHT_SYMTAB_SHNDX 18 /* Indicies for SHN_XINDEX entries */
+#define SHT_SYMTAB_SHNDX 18 /* Indices for SHN_XINDEX entries */
#define SHT_LOOS 0x60000000 /* First of OS specific semantics */
#define SHT_HIOS 0x6fffffff /* Last of OS specific semantics */