diff options
author | Alan Modra <amodra@gmail.com> | 2002-10-11 07:39:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-10-11 07:39:07 +0000 |
commit | 2d801b0fa01bf6af6d34f000ab55096ff1064acc (patch) | |
tree | 57b7421b2c47c087dde5fe44446204062d1e833f /ld/ldgram.y | |
parent | 0be617ce13f4300eeee13483535d6483ba342f9e (diff) | |
download | gdb-2d801b0fa01bf6af6d34f000ab55096ff1064acc.zip gdb-2d801b0fa01bf6af6d34f000ab55096ff1064acc.tar.gz gdb-2d801b0fa01bf6af6d34f000ab55096ff1064acc.tar.bz2 |
* ldgram.y (memory_spec): Provide empty action.
(section <NAME>): Likewise.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index 3de9326..d2533c2 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 |