aboutsummaryrefslogtreecommitdiff
path: root/gold/script-c.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/script-c.h')
-rw-r--r--gold/script-c.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/script-c.h b/gold/script-c.h
index 29901e3..1f79eac 100644
--- a/gold/script-c.h
+++ b/gold/script-c.h
@@ -303,6 +303,14 @@ script_push_lex_into_version_mode(void* closure);
extern void
script_pop_lex_mode(void* closure);
+/* Called by the bison parser to get the value of a symbol. This is
+ called for a reference to a symbol, but is not called for something
+ like "sym += 10". Uses of the special symbol "." can just call
+ script_exp_string. */
+
+extern Expression_ptr
+script_symbol(void* closure, const char*, size_t);
+
/* Called by the bison parser to set a symbol to a value. PROVIDE is
non-zero if the symbol should be provided--only defined if there is
an undefined reference. HIDDEN is non-zero if the symbol should be