aboutsummaryrefslogtreecommitdiff
path: root/gold/options.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-06 23:37:53 +0000
committerIan Lance Taylor <iant@google.com>2007-09-06 23:37:53 +0000
commit15b3cfae2bd81ba81b63d7c16276228cf6b9887c (patch)
treea1c136d2ba3b42d7630c8c37192efa9f780f19d4 /gold/options.cc
parent3e34759906232cdbcec638c4dd9cf556a4254669 (diff)
downloadgdb-15b3cfae2bd81ba81b63d7c16276228cf6b9887c.zip
gdb-15b3cfae2bd81ba81b63d7c16276228cf6b9887c.tar.gz
gdb-15b3cfae2bd81ba81b63d7c16276228cf6b9887c.tar.bz2
Add -rpath-link option, currently unused.
Diffstat (limited to 'gold/options.cc')
-rw-r--r--gold/options.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gold/options.cc b/gold/options.cc
index af168ad..2c0579e 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -249,11 +249,15 @@ options::Command_line_options::options[] =
&General_options::set_output_file_name),
GENERAL_NOARG('r', NULL, N_("Generate relocatable output"), NULL,
ONE_DASH, &General_options::set_relocatable),
- GENERAL_ARG('R', "rpath", N_("Add directory to runtime search path"),
+ GENERAL_ARG('R', "rpath", N_("Add DIR to runtime search path"),
N_("-R DIR, -rpath DIR"), ONE_DASH,
&General_options::add_to_rpath),
GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"),
NULL, TWO_DASHES, &General_options::create_eh_frame_hdr),
+ GENERAL_ARG('\0', "rpath-link",
+ N_("Add DIR to link time shared library search path"),
+ N_("--rpath-link DIR"), TWO_DASHES,
+ &General_options::add_to_rpath_link),
GENERAL_NOARG('\0', "shared", N_("Generate shared library"),
NULL, ONE_DASH, &General_options::set_shared),
GENERAL_NOARG('\0', "static", N_("Do not link against shared libraries"),
@@ -289,6 +293,7 @@ General_options::General_options()
is_relocatable_(false),
create_eh_frame_hdr_(false),
rpath_(),
+ rpath_link_(),
is_shared_(false),
is_static_(false)
{