aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-26 18:03:24 +0000
committerIan Lance Taylor <iant@google.com>2007-10-26 18:03:24 +0000
commit5d57def3b3678509d68fad4114ef407b2ddc7901 (patch)
tree35b068edffb9508f93adb2ccd68f7c4b138e9901 /gold/options.h
parente016ec1f8c240fcadf90d1a1bd918a054599c70e (diff)
downloadgdb-5d57def3b3678509d68fad4114ef407b2ddc7901.zip
gdb-5d57def3b3678509d68fad4114ef407b2ddc7901.tar.gz
gdb-5d57def3b3678509d68fad4114ef407b2ddc7901.tar.bz2
From Craig Silverstein: Minimal --script implementation.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index dad1c90..e3d5c26 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -317,6 +317,14 @@ class General_options
{ this->is_static_ = true; }
void
+ set_script(const char* arg)
+ {
+ fprintf(stderr, _("%s: cannot parse %s: -T/--script not yet supported\n"),
+ program_name, arg);
+ ::exit(1);
+ }
+
+ void
set_stats()
{ this->print_stats_ = true; }