* [committed] Fix typos in comments
@ 2019-01-01 0:00 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-01-01 0:00 UTC (permalink / raw)
To: dwz, jakub
Hi,
Fix typos in comments. NFC.
Committed to trunk.
Thanks,
- Tom
Fix typos in comments
2019-10-18 Tom de Vries <tdevries@suse.de>
* dwz.c: Fix typos in comments.
---
dwz.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dwz.c b/dwz.c
index 727314f..a34c354 100644
--- a/dwz.c
+++ b/dwz.c
@@ -3998,7 +3998,7 @@ dump_dies (int depth, dw_die_ref die)
plus then all the strings which are just suffixes of other
strings. E.g. if .debug_str section contains "foobar" string
and .debug_info section refers to the whole "foobar" string
- as well as "bar" by refering to "foobar" + 3.
+ as well as "bar" by referring to "foobar" + 3.
The second set is used during op_multifile and fi_multifile,
noting each string and in addition to that how many times it
has been seen (0, 1 or more than 1). If 0 then it isn't present
@@ -4802,7 +4802,7 @@ collapse_children (dw_cu_ref cu, dw_die_ref die)
/* First phase of the DWARF compression. Parse .debug_info section
(for kind == DEBUG_INFO) or .debug_types section (for kind == DEBUG_TYPES)
- for each CU in it construct internal represetnation for the CU
+ for each CU in it construct internal representation for the CU
and its DIE tree, compute checksums of DIEs and look for duplicates. */
static int
read_debug_info (DSO *dso, int kind)
@@ -10368,7 +10368,7 @@ error_out:
when using qsort_r instead. */
static DSO *compare_section_numbers_implicit_arg;
-/* Helper functon for sort_section_numbers. */
+/* Helper function for sort_section_numbers. */
static int
compare_section_numbers (const void *p1, const void *p2)
{
@@ -11827,7 +11827,7 @@ dwz (const char *file, const char *outfile, struct file_result *res,
/* In order to free all malloced memory at the end of optimize_multifile,
communicate .debug_str tail optimized offset list from optimize_multifile
- to read_multifile using an mmaped chunk of memory pointed by this
+ to read_multifile using an mmapped chunk of memory pointed by this
variable. */
static unsigned int *strp_tail_off_list;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-18 8:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01 0:00 [committed] Fix typos in comments Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).