aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-01-05 22:55:08 +0000
committerIan Lance Taylor <ian@airs.com>2010-01-05 22:55:08 +0000
commit9c4ae15620bfe4744f6254203295f0f2d9271ee6 (patch)
tree5b68b38b649e11b96af919880e8244e40225f781 /gold/options.h
parentdde3f402cfe649f271730fa5de983ee663743ea3 (diff)
downloadgdb-9c4ae15620bfe4744f6254203295f0f2d9271ee6.zip
gdb-9c4ae15620bfe4744f6254203295f0f2d9271ee6.tar.gz
gdb-9c4ae15620bfe4744f6254203295f0f2d9271ee6.tar.bz2
* 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.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/options.h b/gold/options.h
index 907a8a3..85c81e4 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -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"),