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 | |
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')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/ldgram.y | 7 |
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 |