From e6a307bae3aac48d98d01f51308e238aeabbdfd4 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 23 Jun 2009 06:39:47 +0000 Subject: PR 10030 * yyscript.y: Parse TARGET. * script.cc (script_set_target): New function. * script-c.h (script_set_target): Declare. * options.cc (General_options::string_to_object_format): Rename from string_to_object_format in anonymous namespace. Change callers. * options.h (class General_options): Declare string_to_object_format. --- gold/script-c.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gold/script-c.h') diff --git a/gold/script-c.h b/gold/script-c.h index 3da634f..37016b0 100644 --- a/gold/script-c.h +++ b/gold/script-c.h @@ -258,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 -- cgit v1.1