forked from Imagelibrary/binutils-gdb
Add --warn-drop-version option; by default, do not warn when discarding version info.
gold/ PR gold/23455 * options.h (General_options): Add --warn-drop-version option. * symtab.cc (Symbol_table::set_dynsym_indexes): Check it.
This commit is contained in:
@@ -1361,6 +1361,10 @@ class General_options
|
||||
DEFINE_bool_ignore(warn_constructors, options::TWO_DASHES, '\0',
|
||||
N_("Ignored"), N_("Ignored"));
|
||||
|
||||
DEFINE_bool(warn_drop_version, options::TWO_DASHES, '\0', false,
|
||||
N_("Warn when discarding version information"),
|
||||
N_("Do not warn when discarding version information"));
|
||||
|
||||
DEFINE_bool(warn_execstack, options::TWO_DASHES, '\0', false,
|
||||
N_("Warn if the stack is executable"),
|
||||
N_("Do not warn if the stack is executable"));
|
||||
|
||||
Reference in New Issue
Block a user