summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-03-19 09:56:06 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-03-19 09:56:06 +0000
commit053cf9b62398d4b7728216143c5cced9f5576499 (patch)
treee86a9a956c3b200844997c00fb36358ba70ee197
parentf54fe35946450bf1962560def34aef635ed17666 (diff)
downloadbinutils-redhat-053cf9b62398d4b7728216143c5cced9f5576499.tar.gz
* ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
eof.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldfile.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 66132bf07e..395d7d29a7 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-19 Andreas Schwab <schwab@suse.de>
+
+ * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
+ eof.
+
2003-03-18 Danny Smith <dannysmith@users.sourceforge,net>
* defilep.y (opt_base): If no number given, set to default
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;