[RFC] [PATCH] gold: change default hash style to gnu
Mike Frysinger
vapier@gentoo.org
Sun Feb 3 06:25:00 GMT 2013
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
More information about the Binutils
mailing list