aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
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);