summaryrefslogtreecommitdiff
path: root/binutils/elfcomm.c
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 /binutils/elfcomm.c
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 'binutils/elfcomm.c')
-rw-r--r--binutils/elfcomm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/elfcomm.c b/binutils/elfcomm.c
index 3fcd79e817e..9bfc33c8f17 100644
--- a/binutils/elfcomm.c
+++ b/binutils/elfcomm.c
@@ -622,7 +622,7 @@ setup_archive (struct archive_info *arch, const char *file_name,
arch->longnames_size = 0;
arch->nested_member_origin = 0;
arch->is_thin_archive = is_thin_archive;
- arch->uses_64bit_indicies = FALSE;
+ arch->uses_64bit_indices = FALSE;
arch->next_arhdr_offset = SARMAG;
/* Read the first archive member header. */
@@ -649,7 +649,7 @@ setup_archive (struct archive_info *arch, const char *file_name,
}
else if (const_strneq (arch->arhdr.ar_name, "/SYM64/ "))
{
- arch->uses_64bit_indicies = TRUE;
+ arch->uses_64bit_indices = TRUE;
if (! process_archive_index_and_symbols (arch, 8, read_symbols))
return 1;
}