summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-11-05 06:37:00 +0000
committerAlan Modra <amodra@gmail.com>2000-11-05 06:37:00 +0000
commit78541619c6f0ea41543d01746cdfe1c825135ebf (patch)
treeb618b3055e9d6174b11f5eb663dcf06793ce92dd
parent3b5acdc2f6ed5e5deea2c561fea33d660190fda1 (diff)
downloadbinutils-gdb-78541619c6f0ea41543d01746cdfe1c825135ebf.tar.gz
* ldlex.l (yy_create_string_buffer): Init all structure fields.
* ldlex.c: Regenerate. * Makefile.am (DISTCLEANFILES): Add stringify.sed. * Makefile.in: Regenerate.
-rw-r--r--ld/ChangeLog9
-rw-r--r--ld/Makefile.am2
-rw-r--r--ld/Makefile.in2
-rw-r--r--ld/ldlex.c5
-rw-r--r--ld/ldlex.l5
5 files changed, 21 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8752879196f..c7ec28c3321 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,12 @@
+2000-11-05 Alan Modra <alan@linuxcare.com.au>
+
+ * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
+ yy_is_interactive, yy_at_bol, and yy_fill_buffer.
+ * ldlex.c: Regenerate.
+
+ * Makefile.am (DISTCLEANFILES): Add stringify.sed.
+ * Makefile.in: Regenerate.
+
2000-10-16 Philip Blundell <pb@futuretv.com>
* configure.in: Set version number to 2.10.1.
diff --git a/ld/Makefile.am b/ld/Makefile.am
index a0eb12578bc..0abc9b5a040 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -837,7 +837,7 @@ install-data-local:
LDDISTSTUFF = ldgram.c ldgram.h ldlex.c
diststuff: $(LDDISTSTUFF) info
-DISTCLEANFILES = tdirs site.exp site.bak
+DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
distclean-local:
rm -rf ldscripts
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 6f95ee5f6ec..0fa39ae0a6d 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -386,7 +386,7 @@ CLEANFILES = dep.sed DEP DEP1 DEP2
# target is run by the taz target in ../Makefile.in.
LDDISTSTUFF = ldgram.c ldgram.h ldlex.c
-DISTCLEANFILES = tdirs site.exp site.bak
+DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
CONFIG_HEADER = config.h
diff --git a/ld/ldlex.c b/ld/ldlex.c
index f385d6e11bb..6f9df46108d 100644
--- a/ld/ldlex.c
+++ b/ld/ldlex.c
@@ -3409,6 +3409,11 @@ yy_create_string_buffer (string, size)
b->yy_n_chars = size+1;
b->yy_buf_pos = &b->yy_ch_buf[1];
+ b->yy_is_our_buffer = 1;
+ b->yy_is_interactive = 0;
+ b->yy_at_bol = 1;
+ b->yy_fill_buffer = 0;
+
/* flex 2.4.7 changed the interface. FIXME: We should not be using
a flex internal interface in the first place! */
#ifdef YY_BUFFER_NEW
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 2eef80f1fe2..f3efe77f00f 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -479,6 +479,11 @@ yy_create_string_buffer (string, size)
b->yy_n_chars = size+1;
b->yy_buf_pos = &b->yy_ch_buf[1];
+ b->yy_is_our_buffer = 1;
+ b->yy_is_interactive = 0;
+ b->yy_at_bol = 1;
+ b->yy_fill_buffer = 0;
+
/* flex 2.4.7 changed the interface. FIXME: We should not be using
a flex internal interface in the first place! */
#ifdef YY_BUFFER_NEW