about summary refs log tree commit diff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-12-11 02:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-12-11 02:00:00 +0000
commit14ef9c185b79f55f8221a29accd8d3326367102a (patch)
tree6ce66c4fe96312eea50c0b0aa4107405e0268aca /elf/elf.h
parent720480934ab9107714f1ffc29222dfb5d3bc5b1d (diff)
downloadglibc-14ef9c185b79f55f8221a29accd8d3326367102a.tar.gz
glibc-14ef9c185b79f55f8221a29accd8d3326367102a.tar.xz
glibc-14ef9c185b79f55f8221a29accd8d3326367102a.zip
treewide: fix incorrect spelling of indices in comments
Replace 'indeces' with 'indices', the most annoying of these typos were
those found in elf.h which is a public header file copied to other
projects.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/elf.h b/elf/elf.h
index bd7af7cca4..93994cef2b 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -441,7 +441,7 @@ typedef struct
 #define SHT_FINI_ARRAY	  15		/* Array of destructors */
 #define SHT_PREINIT_ARRAY 16		/* Array of pre-constructors */
 #define SHT_GROUP	  17		/* Section group */
-#define SHT_SYMTAB_SHNDX  18		/* Extended section indeces */
+#define SHT_SYMTAB_SHNDX  18		/* Extended section indices */
 #define	SHT_NUM		  19		/* Number of defined types.  */
 #define SHT_LOOS	  0x60000000	/* Start OS-specific.  */
 #define SHT_GNU_ATTRIBUTES 0x6ffffff5	/* Object attributes.  */
@@ -2141,7 +2141,7 @@ enum
 #define EFA_PARISC_1_1		    0x0210 /* PA-RISC 1.1 big-endian.  */
 #define EFA_PARISC_2_0		    0x0214 /* PA-RISC 2.0 big-endian.  */
 
-/* Additional section indeces.  */
+/* Additional section indices.  */
 
 #define SHN_PARISC_ANSI_COMMON	0xff00	   /* Section for tenatively declared
 					      symbols in ANSI C.  */