]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ldgram.y
* ldgram.y (memory_spec): Provide empty action.
[thirdparty/binutils-gdb.git] / ld / ldgram.y
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