aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-06 00:15:04 +0000
committerIan Lance Taylor <iant@google.com>2008-03-06 00:15:04 +0000
commit13670ee6693f100f4b0b11b3a700d129b9bd67be (patch)
tree33e527af9c37e82a82a69c2c14458bc4364f0992 /gold/options.h
parent94633a50947de1d5e19d6fd6a63196c6f8c092ab (diff)
downloadgdb-13670ee6693f100f4b0b11b3a700d129b9bd67be.zip
gdb-13670ee6693f100f4b0b11b3a700d129b9bd67be.tar.gz
gdb-13670ee6693f100f4b0b11b3a700d129b9bd67be.tar.bz2
Support --hash-style=gnu.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index 30ffb8c..7f5a561 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -465,6 +465,10 @@ class General_options
DEFINE_string(soname, options::ONE_DASH, 'h', NULL,
_("Set shared library name"), _("FILENAME"));
+ DEFINE_enum(hash_style, options::TWO_DASHES, '\0', "sysv",
+ _("Dynamic hash style"), _("[sysv,gnu,both]"),
+ {"sysv", "gnu", "both"});
+
DEFINE_string(dynamic_linker, options::TWO_DASHES, 'I', NULL,
_("Set dynamic linker path"), _("PROGRAM"));