aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-06-23 06:39:47 +0000
committerIan Lance Taylor <ian@airs.com>2009-06-23 06:39:47 +0000
commite6a307bae3aac48d98d01f51308e238aeabbdfd4 (patch)
tree757dcf3896fda91c7ffc280de3add37f3ca7eb41 /gold/script-c.h
parent * script-sections.cc (Script_sections::create_segments): Don't put (diff)
downloadbinutils-gdb-e6a307bae3aac48d98d01f51308e238aeabbdfd4.tar.gz
binutils-gdb-e6a307bae3aac48d98d01f51308e238aeabbdfd4.tar.bz2
binutils-gdb-e6a307bae3aac48d98d01f51308e238aeabbdfd4.zip
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.
Diffstat (limited to 'gold/script-c.h')
-rw-r--r--gold/script-c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/script-c.h b/gold/script-c.h
index 3da634f79fd..37016b09cc1 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