aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1b4e03f..f2fbd37 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-13 Fred Fish <fnf@specifixinc.com>
+
+ * readelf.c: Fix a couple of obvious comment typos,
+ 'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
+
2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_ia64_unwind): Get stamp with proper size.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 4cf2aa9..3b086cb 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -7320,7 +7320,7 @@ load_debug_range (FILE *file)
if (debug_range_contents != NULL)
return;
- /* Locate the .debug_str section. */
+ /* Locate the .debug_ranges section. */
sec = find_section (".debug_ranges");
if (sec == NULL)
return;
@@ -8910,7 +8910,7 @@ process_debug_info (Elf_Internal_Shdr *section, unsigned char *start,
}
/* Set num_debug_info_entries here so that it can be used to check if
- we need to proecess .debug_loc and .debug_ranges sections. */
+ we need to process .debug_loc and .debug_ranges sections. */
if ((do_loc || do_debug_loc || do_debug_ranges)
&& num_debug_info_entries == 0)
num_debug_info_entries = num_units;