* options.h (class General_options): Use DEFINE_bool_alias for

allow_multiple_definition.
	* resolve.cc (Symbol_table::should_override): Don't test
	allow_multiple_definition.
This commit is contained in:
Ian Lance Taylor
2010-01-05 22:55:08 +00:00
parent dde3f402cf
commit 9c4ae15620
3 changed files with 10 additions and 6 deletions

View File

@@ -584,9 +584,9 @@ class General_options
N_("Not supported"),
N_("Do not copy DT_NEEDED tags from shared libraries"));
DEFINE_bool(allow_multiple_definition, options::TWO_DASHES, '\0', false,
N_("Allow multiple definitions of symbols"),
N_("Do not allow multiple definitions"));
DEFINE_bool_alias(allow_multiple_definition, muldefs, options::TWO_DASHES,
'\0', N_("Allow multiple definitions of symbols"),
N_("Do not allow multiple definitions"), false);
DEFINE_bool(allow_shlib_undefined, options::TWO_DASHES, '\0', false,
N_("Allow unresolved references in shared libraries"),