summaryrefslogtreecommitdiff
path: root/gold/script-c.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-06 00:47:10 +0000
committerIan Lance Taylor <iant@google.com>2008-01-06 00:47:10 +0000
commit32c9d48ab1ec5f9d2fbb66458dc2b3de7e413c5c (patch)
tree8466d6f90b31eecfc03c85c342069e6cded5e6db /gold/script-c.h
parentc47de212aad59e2580b202498afda0108366ef1a (diff)
downloadbinutils-redhat-32c9d48ab1ec5f9d2fbb66458dc2b3de7e413c5c.tar.gz
Add support for -e and for ENTRY in linker scripts.
Diffstat (limited to 'gold/script-c.h')
-rw-r--r--gold/script-c.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/script-c.h b/gold/script-c.h
index 1214800dd0..4b103f89d8 100644
--- a/gold/script-c.h
+++ b/gold/script-c.h
@@ -66,6 +66,11 @@ script_start_as_needed(void* closure);
extern void
script_end_as_needed(void* closure);
+/* Called by the bison parser to set the entry symbol. */
+
+extern void
+script_set_entry(void* closure, const char*);
+
/* Called by the bison parser to parse an OPTION. */
extern void
script_parse_option(void* closure, const char*);