aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-07-03 04:46:56 +0000
committerIan Lance Taylor <ian@airs.com>2011-07-03 04:46:56 +0000
commit886288f10bd9d10fb446191e5266154c38f0cbad (patch)
tree26e8bfbc8ec2337e1c3f4212b8a1aa54f46c88d7 /gold/options.h
parentae3a6d4fa3cfdf9daa38946945b2a6aa0c0e9fa8 (diff)
downloadgdb-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.h8
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"));