diff options
author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2010-05-18 18:08:03 +0000 |
---|---|---|
committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2010-05-18 18:08:03 +0000 |
commit | 91e75c8a9c3b92c1699a156890fc97587bc17098 (patch) | |
tree | a2f77d1f1165c7a5f6a78c260bd9be3bc42eb840 /gold/options.h | |
parent | bd7b51b4c67b4b655e4783945b2828bec39c6721 (diff) | |
download | gdb-91e75c8a9c3b92c1699a156890fc97587bc17098.zip gdb-91e75c8a9c3b92c1699a156890fc97587bc17098.tar.gz gdb-91e75c8a9c3b92c1699a156890fc97587bc17098.tar.bz2 |
2010-05-18 Rafael Espindola <espindola@google.com>
* options.cc (General_options::finalize): Handle -nostdlib.
* options.h (nostdlib): New option.
* script.cc (script_add_search_dir): Handle -nostdlib.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index ca5f74d..1e328a8 100644 --- a/gold/options.h +++ b/gold/options.h @@ -800,6 +800,10 @@ class General_options DEFINE_dirlist(library_path, options::TWO_DASHES, 'L', N_("Add directory to search path"), N_("DIR")); + DEFINE_bool(nostdlib, options::ONE_DASH, '\0', false, + N_(" Only search directories specified on the command line."), + NULL); + DEFINE_string(m, options::EXACTLY_ONE_DASH, 'm', "", N_("Ignored for compatibility"), N_("EMULATION")); |