Index: binutils/gold/options.h |
diff --git a/binutils/gold/options.h b/binutils/gold/options.h |
index cbb45b52179abd68f583fe59d2fef4d87b2d84f3..1bf00697f81be0ac2ef7285eb1c0f08061700bda 100644 |
--- a/binutils/gold/options.h |
+++ b/binutils/gold/options.h |
@@ -1,6 +1,6 @@ |
// options.h -- handle command line options for gold -*- C++ -*- |
-// Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
+// Copyright 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
// Written by Ian Lance Taylor <iant@google.com>. |
// This file is part of gold. |
@@ -580,13 +580,17 @@ class General_options |
// alphabetical order). For both, lowercase sorts before uppercase. |
// The -z options come last. |
+ DEFINE_bool(add_needed, options::TWO_DASHES, '\0', false, |
+ N_("Not supported"), |
+ N_("Do not copy DT_NEEDED tags from shared libraries")); |
+ |
DEFINE_bool(allow_shlib_undefined, options::TWO_DASHES, '\0', false, |
N_("Allow unresolved references in shared libraries"), |
N_("Do not allow unresolved references in shared libraries")); |
DEFINE_bool(as_needed, options::TWO_DASHES, '\0', false, |
- N_("Only set DT_NEEDED for dynamic libs if used"), |
- N_("Always DT_NEEDED for dynamic libs")); |
+ N_("Only set DT_NEEDED for shared libraries if used"), |
+ N_("Always DT_NEEDED for shared libraries")); |
// This should really be an "enum", but it's too easy for folks to |
// forget to update the list as they add new targets. So we just |
@@ -627,6 +631,10 @@ class General_options |
{"none"}); |
#endif |
+ DEFINE_bool(copy_dt_needed_entries, options::TWO_DASHES, '\0', false, |
+ N_("Not supported"), |
+ N_("Do not copy DT_NEEDED tags from shared libraries")); |
+ |
DEFINE_bool(define_common, options::TWO_DASHES, 'd', false, |
N_("Define common symbols"), |
N_("Do not define common symbols")); |
@@ -912,6 +920,10 @@ class General_options |
DEFINE_special(version_script, options::TWO_DASHES, '\0', |
N_("Read version script"), N_("FILE")); |
+ DEFINE_bool(warn_common, options::TWO_DASHES, '\0', false, |
+ N_("Warn about duplicate common symbols"), |
+ N_("Do not warn about duplicate common symbols (default)")); |
+ |
DEFINE_bool(warn_search_mismatch, options::TWO_DASHES, '\0', true, |
N_("Warn when skipping an incompatible library"), |
N_("Don't warn when skipping an incompatible library")); |