+2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
+
+ * dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics.
+ * run-lfs-symbols.sh: Likewise.
+ * elfstrmerge.c (main): Fix spelling typos in comments.
+ * dwfl-bug-fd-leak.c: Likewise.
+ * run-readelf-line.sh: Likewise.
+ * run-stack-demangled-test.sh: Likewise.
+ * sectiondump.c (main): Likewise.
+ * varlocs.c (handle_die): Likewise.
+
2020-12-11 Dmitry V. Levin <ldv@altlinux.org>
* configure.ac: Remove.
int fd = open (name, O_RDONLY);
if (fd < 0)
{
- printf ("Cannnot open '%s': %s\n", name, strerror (errno));
+ printf ("Cannot open '%s': %s\n", name, strerror (errno));
return -1;
}
-/* Test program for libdwfl file decriptors leakage.
+/* Test program for libdwfl file descriptors leakage.
Copyright (C) 2007, 2008 Red Hat, Inc.
This file is part of elfutils.
if (unlikely (secndx == 0 || secndx == shdrstrndx || secndx >= shdrnum))
{
/* Don't use fail... too specialized messages. Call release
- outselves and then error. Ignores midx if widx is
+ ourselves and then error. Ignores midx if widx is
zero. */
release ();
if (widx == 0)
{
new_data_buf (newdata);
/* A section group contains Elf32_Words. The first
- word is a falg value, the rest of the words are
+ word is a flag value, the rest of the words are
indexes of the sections belonging to the group. */
Elf32_Word *group = (Elf32_Word *) data->d_buf;
Elf32_Word *newgroup = (Elf32_Word *) newdata->d_buf;
. $srcdir/test-subr.sh
if ! grep -q -F '#define _FILE_OFFSET_BITS' ${abs_top_builddir}/config.h; then
- echo "LFS testing is irrelevent on this system"
+ echo "LFS testing is irrelevant on this system"
exit 77
fi
EOF
-# A .debug_line table with mininum instruction length > 1.
+# A .debug_line table with minimum instruction length > 1.
#
# = hello.c
# #include <stdio.h>
# See run-stack-d-test.sh and run-stack-i-test.sh
# Same tests, now with demangler support, no -r, and without -d.
-# Only change in output is an explit fu(int) instead of _Z2fui.
+# Only change in output is an explicit fu(int) instead of _Z2fui.
testfiles testfiledwarfinlines testfiledwarfinlines.core
if (fd == -1)
error (EXIT_FAILURE, errno, "cannot open input file `%s'", argv[1]);
- /* Set the library versio we expect. */
+ /* Set the library version we expect. */
elf_version (EV_CURRENT);
/* Create the ELF descriptor. */
error (EXIT_FAILURE, 0, "cannot create ELF descriptor: %s",
elf_errmsg (0));
- /* Now proces all the sections mentioned in the rest of the command line. */
+ /* Now process all the sections mentioned in the rest of the command line. */
for (cnt = 2; cnt < argc; ++cnt)
if (handle_section (elf, elf_getscn (elf, atoi (argv[cnt]))) != 0)
/* When we encounter an error stop immediately. */
if (data == NULL)
return 1;
- /* Now proces the different section types accordingly. */
+ /* Now process the different section types accordingly. */
switch (shdr->sh_type)
{
case SHT_SYMTAB:
arg.entrypc = die_entrypc;
/* Whether this or the any outer DIE has a frame base. Used as
- sanity check when printing experssions that use DW_OP_fbreg. */
+ sanity check when printing expressions that use DW_OP_fbreg. */
bool die_has_frame_base = dwarf_hasattr (die, DW_AT_frame_base);
die_has_frame_base |= outer_has_frame_base;
has_frame_base = die_has_frame_base;