forked from Imagelibrary/binutils-gdb
* options.h (General_options): Add entries for '-Y' and
'-relax'. * options.cc (General_options:finalize): If -Y was used, add those entries to the library path instead of the default "/lib" and "/usr/lib".
This commit is contained in:
@@ -556,6 +556,9 @@ class General_options
|
||||
DEFINE_bool(relocatable, options::EXACTLY_ONE_DASH, 'r', false,
|
||||
N_("Generate relocatable output"), NULL);
|
||||
|
||||
DEFINE_bool(relax, options::TWO_DASHES, '\0', false,
|
||||
N_("Relax branches on certain targets"), NULL);
|
||||
|
||||
// -R really means -rpath, but can mean --just-symbols for
|
||||
// compatibility with GNU ld. -rpath is always -rpath, so we list
|
||||
// it separately.
|
||||
@@ -626,6 +629,10 @@ class General_options
|
||||
DEFINE_special(wrap, options::TWO_DASHES, '\0',
|
||||
N_("Use wrapper functions for SYMBOL"), N_("SYMBOL"));
|
||||
|
||||
DEFINE_string(Y, options::EXACTLY_ONE_DASH, 'Y', "",
|
||||
N_("Default search path for Solaris compatibility"),
|
||||
N_("PATH"));
|
||||
|
||||
DEFINE_special(start_group, options::TWO_DASHES, '(',
|
||||
N_("Start a library search group"), NULL);
|
||||
DEFINE_special(end_group, options::TWO_DASHES, ')',
|
||||
|
||||
Reference in New Issue
Block a user