diff options
author | Cary Coutant <ccoutant@google.com> | 2011-10-31 22:43:49 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2011-10-31 22:43:49 +0000 |
commit | 9634ed06a66c3693045bb8b3bf86b43942239dd8 (patch) | |
tree | df00f7cc36e32cdb099a1be97c032e84d6cae1c7 /gold/options.h | |
parent | de4101c724d90aa753a39e04fd3e1f09c66e2c75 (diff) | |
download | gdb-9634ed06a66c3693045bb8b3bf86b43942239dd8.zip gdb-9634ed06a66c3693045bb8b3bf86b43942239dd8.tar.gz gdb-9634ed06a66c3693045bb8b3bf86b43942239dd8.tar.bz2 |
* options.h (class General_options): Add --[no-]gnu-unique options.
* symtab.cc (Symbol_table::sized_write_globals): Convert
STB_GNU_UNIQUE to STB_GLOBAL if --no-gnu-unique.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index 2837790..9909483 100644 --- a/gold/options.h +++ b/gold/options.h @@ -787,6 +787,10 @@ class General_options DEFINE_bool(g, options::EXACTLY_ONE_DASH, '\0', false, N_("Ignored"), NULL); + DEFINE_bool(gnu_unique, options::TWO_DASHES, '\0', true, + N_("Enable STB_GNU_UNIQUE symbol binding (default)"), + N_("Disable STB_GNU_UNIQUE symbol binding")); + DEFINE_string(soname, options::ONE_DASH, 'h', NULL, N_("Set shared library name"), N_("FILENAME")); |