This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bison 1.50 vs binutils
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 11 Oct 2002 17:09:11 +0930
- Subject: Re: bison 1.50 vs binutils
- References: <200210100155.VAA47597@bromo.msbb.uc.edu>
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.
Applying mainline and branch.
Index: ld/ldgram.y
===================================================================
RCS file: /cvs/src/src/ld/ldgram.y,v
retrieving revision 1.21
diff -u -p -r1.21 ldgram.y
--- ld/ldgram.y 7 May 2002 11:04:54 -0000 1.21
+++ ld/ldgram.y 11 Oct 2002 07:24:19 -0000
@@ -626,11 +626,11 @@ memory_spec_list:
;
-memory_spec: NAME
- { region = lang_memory_region_lookup($1); }
+memory_spec: NAME
+ { region = lang_memory_region_lookup($1); }
attributes_opt ':'
origin_spec opt_comma length_spec
-
+ {}
;
origin_spec:
@@ -845,6 +845,7 @@ section: NAME { ldlex_expression(); }
lang_leave_output_section_statement ($14, $11, $13, $12);
}
opt_comma
+ {}
| OVERLAY
{ ldlex_expression (); }
opt_exp_without_type opt_nocrossrefs opt_at
--
Alan Modra
IBM OzLabs - Linux Technology Centre