From 6a59db026e430b807576cf72f182d3b1d45bcfaf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 19 Jan 2026 15:53:12 +0000 Subject: [PATCH] Release the data on the matching_objstack once it is no longer needed. --- 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 ();