2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
+ * libdwelf.h: Fix spelling typos in comments.
+ * dwelf_strtab.c (newstring): Likewise.
+
* dwelf_elf_e_machine_string.c (dwelf_elf_e_machine_string): Fix
spelling typos in returned strings.
/* XXX This function should definitely be rewritten to use a balancing
- tree algorith (AVL, red-black trees). For now a simple, correct
+ tree algorithm (AVL, red-black trees). For now a simple, correct
implementation is enough. */
static Dwelf_Strent **
searchstring (Dwelf_Strent **sep, Dwelf_Strent *newstr)
/* Returns the name and the CRC32 of the separate debug file from the
.gnu_debuglink section if found in the ELF. Return NULL if the ELF
file didn't have a .gnu_debuglink section, had malformed data in the
- section or some other error occured. */
+ section or some other error occurred. */
extern const char *dwelf_elf_gnu_debuglink (Elf *elf, GElf_Word *crc);
/* Returns the name and build ID from the .gnu_debugaltlink section if
section. The section name should start with .zdebug (but this
isn't checked by this function). If the section isn't compressed
(the section data doesn't start with ZLIB) -1 is returned. If an
- error occured -1 is returned and elf_errno is set. */
+ error occurred -1 is returned and elf_errno is set. */
extern ssize_t dwelf_scn_gnu_compressed_size (Elf_Scn *scn);
/* ELF/DWARF string table handling. */