diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-04-11 20:28:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-04-11 20:28:34 +0000 |
commit | 706e1f5e80a60c1c30a0e075bcc8228ed3d905fc (patch) | |
tree | acf39b572803a7ec9796c1b401a6ec33462d4233 /gold/options.h | |
parent | 52a952116ffe3384e3c72a9742f831a5fa072052 (diff) | |
download | gdb-706e1f5e80a60c1c30a0e075bcc8228ed3d905fc.zip gdb-706e1f5e80a60c1c30a0e075bcc8228ed3d905fc.tar.gz gdb-706e1f5e80a60c1c30a0e075bcc8228ed3d905fc.tar.bz2 |
* 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".
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index 8d624e5..e17c40f 100644 --- a/gold/options.h +++ b/gold/options.h @@ -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, ')', |