This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix some ld nits.
- To: binutils at sourceware dot cygnus dot com
- Subject: Fix some ld nits.
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Sun, 5 Nov 2000 17:24:42 +1100 (EST)
In respose to a bug report by burts@us.ibm.com I'll apply these fixes
to the binutils-2.10 branch too.
ld/ChangeLog
* 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.
Alan Modra
--
Linuxcare. Support for the Revolution.
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile.am
--- Makefile.am 2000/09/15 18:52:14 1.47
+++ Makefile.am 2000/11/05 06:11:37
@@ -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_i3
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
Index: ldlex.l
===================================================================
RCS file: /cvs/src/src/ld/ldlex.l,v
retrieving revision 1.2
diff -u -p -r1.2 ldlex.l
--- ldlex.l 2000/06/05 16:16:31 1.2
+++ ldlex.l 2000/11/05 06:11:44
@@ -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