From: amodra Date: Sun, 5 Nov 2000 06:27:14 +0000 (+0000) Subject: * ldlex.l (yy_create_string_buffer): Init all structure fields. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9d3a076b9ff5b0066034d0c9fc9e86b334a5a30a;p=pf3gnuchains%2Fsourceware.git * 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index d2e2c9a838..fbecc42940 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,12 @@ +2000-11-05 Alan Modra + + * 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 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose diff --git a/ld/Makefile.am b/ld/Makefile.am index abb3f13cfd..2093694c0e 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 4bb110d8a6..29edd99612 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 4dfa53f7a4..d5f5d27d3b 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