aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-03-08 18:43:42 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-03-08 18:43:42 -0700
commita15de1f5999228fa53c6c266e09499388f64869b (patch)
treeba0bf5ec740135f65fa53e037db89e30664b536c /binutils/readelf.c
parent2f57795b8b3cb2c416e91a16bc932480248e30d7 (diff)
downloadgdb-a15de1f5999228fa53c6c266e09499388f64869b.zip
gdb-a15de1f5999228fa53c6c266e09499388f64869b.tar.gz
gdb-a15de1f5999228fa53c6c266e09499388f64869b.tar.bz2
readelf.c: Fix a typo in comments
* readelf.c (get_dynamic_data): Replace "memory chekers" with "memory checkers" in comments.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d4756c9..0df2af8 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -11428,7 +11428,7 @@ get_dynamic_data (Filedata * filedata, bfd_size_type number, unsigned int ent_si
return NULL;
}
- /* Be kind to memory chekers (eg valgrind, address sanitizer) by not
+ /* Be kind to memory checkers (eg valgrind, address sanitizer) by not
attempting to allocate memory when the read is bound to fail. */
if (ent_size * number > filedata->file_size)
{