This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/2] gold: enable new dtags by default


The "new" dtags options have been around for 14+ years, and for all the
targets that gold supports, these flags have always exist.  So enable
them by default.

Having behavior be different from ld.bfd isn't new, and this behavior
is the "better" one, so there shouldn't be a problem based on that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2013-01-12  Mike Frysinger  <vapier@gentoo.org>

	* options.h (General_options): Change default to true for new_dtags
	and new_dtags_only.
---
 gold/options.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gold/options.h b/gold/options.h
index ec3f823..9f7b5ae 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -904,11 +904,11 @@ class General_options
 	      N_("Do not page align data, do not make text readonly"),
 	      N_("Page align data, make text readonly"));
 
-  DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', false,
+  DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', true,
 		N_("Enable use of DT_RUNPATH and DT_FLAGS"),
 		N_("Disable use of DT_RUNPATH and DT_FLAGS"));
 
-  DEFINE_enable(new_dtags_only, options::EXACTLY_TWO_DASHES, '\0', false,
+  DEFINE_enable(new_dtags_only, options::EXACTLY_TWO_DASHES, '\0', true,
 		N_("Skip the use of DT_RPATH"),
 		N_("Do not skip the use of DT_RPATH"));
 
-- 
1.8.0.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]