diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-02 21:24:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-02 21:24:41 +0000 |
commit | 51dee2fec3afad5e6fc9f78b8c1d8486ebf3a334 (patch) | |
tree | 893aeec618b946af2d86179792c87db387545133 /gold/options.cc | |
parent | f5c3f2256ff4090c1d4a7d023c327eaed335ec27 (diff) | |
download | gdb-51dee2fec3afad5e6fc9f78b8c1d8486ebf3a334.zip gdb-51dee2fec3afad5e6fc9f78b8c1d8486ebf3a334.tar.gz gdb-51dee2fec3afad5e6fc9f78b8c1d8486ebf3a334.tar.bz2 |
From Craig Silverstein: add support for searching for input files
named in linker scripts.
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/options.cc b/gold/options.cc index 577c604..4df21b0 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -285,6 +285,8 @@ options::Command_line_options::options[] = NULL, ONE_DASH, &General_options::set_shared), GENERAL_NOARG('\0', "static", N_("Do not link against shared libraries"), NULL, ONE_DASH, &General_options::set_static), + GENERAL_ARG('\0', "sysroot", N_("Currently ignored"), NULL, TWO_DASHES, + &General_options::ignore), POSDEP_NOARG('\0', "as-needed", N_("Only set DT_NEEDED for dynamic libs if used"), NULL, TWO_DASHES, &Position_dependent_options::set_as_needed), @@ -550,7 +552,7 @@ Command_line::apply_option(const options::One_option& opt, void Command_line::add_file(const char* name, bool is_lib) { - Input_file_argument file(name, is_lib, this->position_options_); + Input_file_argument file(name, is_lib, "", this->position_options_); this->inputs_.add_file(file); } |