aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-05-27 15:39:11 +0000
committerIan Lance Taylor <ian@airs.com>1994-05-27 15:39:11 +0000
commit60e8a534070c8dc181b2fb4971b8199597a168f1 (patch)
treece0a44394df85f43789686f637a9a9932332259b /ld/ldgram.y
parent29371b1febb3b9fca6487a9316e44fc4cf657a45 (diff)
downloadgdb-60e8a534070c8dc181b2fb4971b8199597a168f1.zip
gdb-60e8a534070c8dc181b2fb4971b8199597a168f1.tar.gz
gdb-60e8a534070c8dc181b2fb4971b8199597a168f1.tar.bz2
* ldlang.c (entry_symbol): Make static.
(lang_add_entry): Add cmdline argument. * ldlang.h (lang_add_entry): Change prototype. * ldgram.y (statement_anywhere): Change lang_add_entry call. * lexsup.c (parse_args): Likewise.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index 0640afe..4789b7c 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -155,7 +155,6 @@ mri_script_command:
einfo("%P%F: unrecognised keyword in MRI style script '%s'\n",$1);
}
| LIST {
- write_map = true;
config.map_filename = "-";
}
| ORDER ordernamelist
@@ -282,7 +281,7 @@ sec_or_group_p1:
statement_anywhere:
ENTRY '(' NAME ')'
- { lang_add_entry($3); }
+ { lang_add_entry ($3, 0); }
| assignment end
;