aboutsummaryrefslogtreecommitdiff
path: root/gold/options.cc
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.cc
parente016ec1f8c240fcadf90d1a1bd918a054599c70e (diff)
downloadfsf-binutils-gdb-5d57def3b3678509d68fad4114ef407b2ddc7901.zip
fsf-binutils-gdb-5d57def3b3678509d68fad4114ef407b2ddc7901.tar.gz
fsf-binutils-gdb-5d57def3b3678509d68fad4114ef407b2ddc7901.tar.bz2
From Craig Silverstein: Minimal --script implementation.
Diffstat (limited to 'gold/options.cc')
-rw-r--r--gold/options.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc
index 1e4b90e..9e5e270 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -377,6 +377,9 @@ options::Command_line_options::options[] =
NULL, TWO_DASHES, &General_options::set_stats),
GENERAL_ARG('\0', "sysroot", N_("Set target system root directory"),
N_("--sysroot DIR"), TWO_DASHES, &General_options::set_sysroot),
+ GENERAL_ARG('T', "script", N_("Read linker script"),
+ N_("-T FILE, --script FILE"), TWO_DASHES,
+ &General_options::set_script),
GENERAL_ARG('\0', "Ttext", N_("Set the address of the .text section"),
N_("-Ttext ADDRESS"), ONE_DASH,
&General_options::set_text_segment_address),