+2018-07-27 Mark Wielaard <mark@klomp.org>
+
+ * libelf.h (elf_getshdrstrndx): Fix documentation.
+ (elf_getshstrndx): Likewise.
+
2018-06-19 Mark Wielaard <mark@klomp.org>
* libelfP.h (__libelf_type_align): Remove !ALLOW_UNALIGNED guard.
/* Get the section index of the section header string table in the ELF
- file. If the index cannot be represented in the e_shnum field of
+ file. If the index cannot be represented in the e_shstrndx field of
the ELF header the information from the sh_link field in the zeroth
section header is used. */
extern int elf_getshdrstrndx (Elf *__elf, size_t *__dst);
-/* Sun messed up the implementation of 'elf_getshnum' in their implementation.
- It was agreed to make the same functionality available under a different
- name and obsolete the old name. */
+/* Sun messed up the implementation of 'elf_getshstrndx' in their
+ implementation. It was agreed to make the same functionality available
+ under a different name and obsolete the old name. */
extern int elf_getshstrndx (Elf *__elf, size_t *__dst)
__deprecated_attribute__;