aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
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/lexsup.c
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/lexsup.c')
-rw-r--r--ld/lexsup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index a397574..058f546 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -168,7 +168,7 @@ parse_args (argc, argv)
be used to select an output format. */
break;
case 'e':
- lang_add_entry (optarg);
+ lang_add_entry (optarg, 1);
break;
case 'F':
/* Ignore. */