[binutils-gdb] Release the data on the matching_objstack once it is no longer needed.
Nick Clifton
nickc@sourceware.org
Mon Jan 19 15:53:39 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6a59db026e430b807576cf72f182d3b1d45bcfaf
commit 6a59db026e430b807576cf72f182d3b1d45bcfaf
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Jan 19 15:53:12 2026 +0000
Release the data on the matching_objstack once it is no longer needed.
Diff:
---
ld/ldlang.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 26bd52240c1..0ef33e8a4e6 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -8713,6 +8713,9 @@ lang_process (void)
ldemul_finish ();
+ /* We should not need the wildcard information any more. */
+ reset_resolved_wilds ();
+
/* Convert absolute symbols to section relative. */
ldexp_finalize_syms ();
More information about the Binutils-cvs
mailing list