This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bison 1.50 vs binutils
On Fri, Oct 11, 2002 at 05:09:11PM +0930, Alan Modra wrote:
> On Wed, Oct 09, 2002 at 09:55:56PM -0400, Jack Howarth wrote:
> > ld/ldgram.y:629.12-632.35: type clash (`' `name') on default action
> > ld/ldgram.y:831.8-847.11: type clash (`' `name') on default action
>
> Fixed like this.
>
> * ldgram.y (memory_spec): Provide empty action.
> (section <NAME>): Likewise.
I get another on of those in gas:
/bin/sh ../../binutils-2.13.90.0.10/gas/../ylwrap "bison -y" ../../binutils-2.13.90.0.10/gas/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- -d
/home/js/MIPS/toolchain/mips-linux-binutils/gas/../../binutils-2.13.90.0.10/gas/itbl-parse.y:316.2-323.14: type clash (`' `num') on default action
make[3]: *** [itbl-parse.c] Error 1
The following seems to fix it:
--- binutils-2.13.90.0.10/gas/itbl-parse.y.orig 2002-10-15 15:03:48.000000000 +0200
+++ binutils-2.13.90.0.10/gas/itbl-parse.y 2002-10-15 15:08:36.000000000 +0200
@@ -321,6 +321,7 @@
insn=itbl_add_insn ($1, $3, $4, sbit, ebit, $6);
}
fieldspecs NL
+ {}
| NL
| error NL
;
Regards,
Johannes