This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 2/2 v5] gold: enable new dtags by default
- From: Mike Frysinger <vapier at gentoo dot org>
- To: binutils at sourceware dot org
- Date: Thu, 17 Jan 2013 23:26:41 -0500
- Subject: [PATCH 2/2 v5] gold: enable new dtags by default
- References: <1356420600-11507-1-git-send-email-vapier@gentoo.org> <1358483201-12733-1-git-send-email-vapier@gentoo.org>
The "new" dtags options have been around for 14+ years, and for all the
targets that gold supports, these flags have always existed. 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.
---
v5
- no changes
gold/options.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gold/options.h b/gold/options.h
index 1eb2da2..9e65e8d 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -904,7 +904,7 @@ 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"));
--
1.8.0.2