aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-30 06:27:03 +0000
committerIan Lance Taylor <iant@google.com>2007-10-30 06:27:03 +0000
commita0451b389c933e7b8938bdaa5c057c2c9a7428f1 (patch)
treefc157d8c6e4e7f860a1efccf089d42785b134cb0 /gold/options.h
parentc1866bd5e3eadb2b03515e13f7e8a4dc7377762a (diff)
downloadgdb-a0451b389c933e7b8938bdaa5c057c2c9a7428f1.zip
gdb-a0451b389c933e7b8938bdaa5c057c2c9a7428f1.tar.gz
gdb-a0451b389c933e7b8938bdaa5c057c2c9a7428f1.tar.bz2
From Craig Silverstein: Implement OPTION in linker scripts.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index 208c62a..4b774ac 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -696,6 +696,11 @@ class Command_line
void
process(int argc, char** argv);
+ // Process one command-line option. This takes the index of argv to
+ // process, and returns the index for the next option.
+ int
+ process_one_option(int argc, char** argv, int i, bool* no_more_options);
+
// Handle a -l option.
int
process_l_option(int, char**, char*, bool);