aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-10-11 07:39:07 +0000
committerAlan Modra <amodra@gmail.com>2002-10-11 07:39:07 +0000
commit2d801b0fa01bf6af6d34f000ab55096ff1064acc (patch)
tree57b7421b2c47c087dde5fe44446204062d1e833f /ld/ldgram.y
parent0be617ce13f4300eeee13483535d6483ba342f9e (diff)
downloadgdb-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.y7
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