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
commitd391083d3c938e56a0d0f3e03867d91369198d35 (patch)
tree424c6ed0d5a8fa8ec5e037cee0d3a425e48b9d3b /gold/script-c.h
parent2969336b5ef220b001aae71ced8b87c654734725 (diff)
downloadbinutils-gdb-d391083d3c938e56a0d0f3e03867d91369198d35.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 1214800dd0a..4b103f89d8b 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*);