This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[RFC] [PATCH] gold: change default hash style to gnu
- From: Mike Frysinger <vapier at gentoo dot org>
- To: binutils at sourceware dot org
- Date: Sun, 3 Feb 2013 01:25:48 -0500
- Subject: [RFC] [PATCH] gold: change default hash style to gnu
Glibc first added .gnu.hash support to glibc-2.5 (released 29 Sep 2006),
and gold was first released after that. Let's default the gnu hash style
to the new "gnu" rather than the classic sysv.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-02-03 Mike Frysinger <vapier@gentoo.org>
* options.h (General_options): Change default to gnu for hash_style.
---
gold/options.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gold/options.h b/gold/options.h
index c138fa2..4698ebd 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -809,7 +809,7 @@ class General_options
N_("Min fraction of empty buckets in dynamic hash"),
N_("FRACTION"));
- DEFINE_enum(hash_style, options::TWO_DASHES, '\0', "sysv",
+ DEFINE_enum(hash_style, options::TWO_DASHES, '\0', "gnu",
N_("Dynamic hash style"), N_("[sysv,gnu,both]"),
{"sysv", "gnu", "both"});
--
1.8.0.2