summaryrefslogtreecommitdiffstats
path: root/ld/ldfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r--ld/ldfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 84795e1f68..34e468e380 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -220,6 +220,7 @@ ldfile_try_open_bfd (attempt, entry)
}
token = yylex ();
}
+ ldlex_popstate ();
ldfile_assumed_script = FALSE;
fclose (yyin);
yyin = NULL;
OpenPOWER on IntegriCloud