diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-07-03 04:46:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-07-03 04:46:56 +0000 |
commit | 886288f10bd9d10fb446191e5266154c38f0cbad (patch) | |
tree | 26e8bfbc8ec2337e1c3f4212b8a1aa54f46c88d7 /gold/options.h | |
parent | ae3a6d4fa3cfdf9daa38946945b2a6aa0c0e9fa8 (diff) | |
download | gdb-886288f10bd9d10fb446191e5266154c38f0cbad.zip gdb-886288f10bd9d10fb446191e5266154c38f0cbad.tar.gz gdb-886288f10bd9d10fb446191e5266154c38f0cbad.tar.bz2 |
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.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index 506c376..57d5810 100644 --- a/gold/options.h +++ b/gold/options.h @@ -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")); |