aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-11-05 06:27:15 +0000
committerAlan Modra <amodra@gmail.com>2000-11-05 06:27:15 +0000
commitdca7760fb5cb24c6f2ca566c5c5c73f37b14ccae (patch)
treef6616e350ea35778fa24d7d7d889696e97ffc7b1
parent99a4c1bd6b076fb9194689a48c72914348019638 (diff)
downloadgdb-dca7760fb5cb24c6f2ca566c5c5c73f37b14ccae.zip
gdb-dca7760fb5cb24c6f2ca566c5c5c73f37b14ccae.tar.gz
gdb-dca7760fb5cb24c6f2ca566c5c5c73f37b14ccae.tar.bz2
* ldlex.l (yy_create_string_buffer): Init all structure fields.
* Makefile.am (DISTCLEANFILES): Add stringify.sed. Move 2000-11-02 Makefile.in changes to this file.
-rw-r--r--ld/ChangeLog9
-rw-r--r--ld/Makefile.am6
-rw-r--r--ld/Makefile.in4
-rw-r--r--ld/ldlex.l5
4 files changed, 21 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d2e2c9a..fbecc42 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.
+
+ * Makefile.am (DISTCLEANFILES): Add stringify.sed.
+ Move 2000-11-02 Makefile.in changes to this file.
+ * Makefile.in: Regenerate.
+
2000-11-03 Nick Clifton <nickc@redhat.com>
* scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
diff --git a/ld/Makefile.am b/ld/Makefile.am
index abb3f13..2093694 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -153,6 +153,7 @@ ALL_EMULATIONS = \
eelf32ppcsim.o \
eelf_i386.o \
eelf_i386_be.o \
+ eelf_i386_chaos.o \
egld960.o \
egld960coff.o \
eh8300.o \
@@ -501,6 +502,9 @@ eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
+eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
egld960.c: $(srcdir)/emulparams/gld960.sh \
$(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
${GENSCRIPTS} gld960 "$(tdir_gld960)"
@@ -921,7 +925,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 4bb110d..29edd99 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -416,7 +416,7 @@ CLEANFILES = dep.sed DEP DEPA 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
@@ -458,7 +458,7 @@ deffilep.c ldgram.c ldlex.c
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-TAR = gtar
+TAR = tar
GZIP_ENV = --best
SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
OBJECTS = $(ld_new_OBJECTS)
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 4dfa53f..d5f5d27 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