PR ld/10515
[binutils-gdb.git] / gold / script-c.h
index 13c789a93f201a0567216f064b4c01b02f4ddf15..37016b09cc12da2e3463c4cf9e875d9a20232f1e 100644 (file)
@@ -211,6 +211,12 @@ yylex(YYSTYPE*, void* closure);
 extern void
 yyerror(void* closure, const char*);
 
+/* Called by the bison parser to add an external symbol (a symbol in
+   an EXTERN declaration) to the link.  */
+
+extern void
+script_add_extern(void* closure, const char*, size_t);
+
 /* Called by the bison parser to add a file to the link.  */
 
 extern void
@@ -252,6 +258,10 @@ extern int
 script_check_output_format(void* closure, const char*, size_t,
                           const char*, size_t, const char*, size_t);
 
+/* Called by the bison parser to handle TARGET.  */
+extern void
+script_set_target(void* closure, const char*, size_t);
+
 /* Called by the bison parser to handle SEARCH_DIR.  */
 
 extern void