aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 33ca3e9..63e9085 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2020-04-15 Alan Modra <amodra@gmail.com>
+
+ PR 25821
+ * readelf.c (get_num_dynamic_syms): Typo fix.
+
2020-04-14 Alan Modra <amodra@gmail.com>
* readelf.c (process_mips_specific): Free eopt and iopt. Avoid
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 9149bb8..efcd6f3 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9997,7 +9997,7 @@ get_num_dynamic_syms (Filedata * filedata)
if (chains)
{
free (chains);
- buckets = NULL;
+ chains = NULL;
}
nbuckets = 0;
}