* ldgram.y (memory_spec): Provide empty action.
authorAlan Modra <amodra@gmail.com>
Fri, 11 Oct 2002 07:39:07 +0000 (07:39 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 11 Oct 2002 07:39:07 +0000 (07:39 +0000)
(section <NAME>): Likewise.

ld/ChangeLog
ld/ldgram.y

index b5399ca758697e2659c3c404f662751c9838f58c..d814a569495ef04c03da80084bffe6565721986b 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldgram.y (memory_spec): Provide empty action.
+       (section <NAME>): Likewise.
+
 2002-10-10  Jakub Jelinek  <jakub@redhat.com>
 
        * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
index 3de9326bb8bb1131737d051a5d9d27d7962bf0cb..d2533c20a575425e84805a1b31b0089945602312 100644 (file)
@@ -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