forked from Imagelibrary/binutils-gdb
PR gold/12957
* options.h (class General_options): Add -f and -F. * options.cc (General_options::finalize): Fatal error if -f/-F are used without -shared. * layout.cc (Layout::finish_dynamic_section): Implement -f/-F.
This commit is contained in:
@@ -735,6 +735,14 @@ class General_options
|
||||
N_("(ARM only) Do not warn about objects with incompatible "
|
||||
"enum sizes"));
|
||||
|
||||
DEFINE_set(auxiliary, options::TWO_DASHES, 'f',
|
||||
N_("Auxiliary filter for shared object symbol table"),
|
||||
N_("SHLIB"));
|
||||
|
||||
DEFINE_string(filter, options::TWO_DASHES, 'F', NULL,
|
||||
N_("Filter for shared object symbol table"),
|
||||
N_("SHLIB"));
|
||||
|
||||
DEFINE_bool(fatal_warnings, options::TWO_DASHES, '\0', false,
|
||||
N_("Treat warnings as errors"),
|
||||
N_("Do not treat warnings as errors"));
|
||||
|
||||
Reference in New Issue
Block a user