aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog8
-rw-r--r--gold/main.cc2
2 files changed, 8 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index bd23e15..2d4e609 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,8 +1,14 @@
-2021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
+2021-03-19 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/26585
+ * main.cc (main): Fix typo in previous patch.
+
+2021-03-19 Duncan Simpson <dr.duncan.p.simpson@gmail.com>
PR gold/26585
* configure.ac: Add check for mallinfo2.
* configure: Regenerate.
+ * config.in: Regenerate from previous commit.
* main.cc (main): Use mallinfo2 if available.
2021-03-19 Cary Coutant <ccoutant@gmail.com>
diff --git a/gold/main.cc b/gold/main.cc
index 89bc40b..ff44cbb 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -291,7 +291,7 @@ main(int argc, char** argv)
elapsed.wall / 1000, (elapsed.wall % 1000) * 1000);
#if defined(HAVE_MALLINFO2)
- struct mallinfo m = mallinfo2();
+ struct mallinfo2 m = mallinfo2();
fprintf(stderr, _("%s: total space allocated by malloc: %lld bytes\n"),
program_name, static_cast<long long>(m.arena));
#elif defined(HAVE_MALLINFO)