From: Alan Modra Date: Fri, 11 Oct 2002 07:39:07 +0000 (+0000) Subject: * ldgram.y (memory_spec): Provide empty action. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d801b0fa01bf6af6d34f000ab55096ff1064acc;p=binutils-gdb.git * ldgram.y (memory_spec): Provide empty action. (section ): Likewise. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index b5399ca7586..d814a569495 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-10-11 Alan Modra + + * ldgram.y (memory_spec): Provide empty action. + (section ): Likewise. + 2002-10-10 Jakub Jelinek * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if diff --git a/ld/ldgram.y b/ld/ldgram.y index 3de9326bb8b..d2533c20a57 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -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