aboutsummaryrefslogtreecommitdiff
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
parent0be617ce13f4300eeee13483535d6483ba342f9e (diff)
downloadgdb-2d801b0fa01bf6af6d34f000ab55096ff1064acc.zip
gdb-2d801b0fa01bf6af6d34f000ab55096ff1064acc.tar.gz
gdb-2d801b0fa01bf6af6d34f000ab55096ff1064acc.tar.bz2
* ldgram.y (memory_spec): Provide empty action.
(section <NAME>): Likewise.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldgram.y7
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index b5399ca..d814a56 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
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