aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2009-01-23 17:05:16 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2009-01-23 17:05:16 +0000
commit3b2935444fe89c883ffe7964b69556f3580ee1ef (patch)
tree64f8141f0daa742345420353838d76d7d81e4124 /gold/options.h
parentda0617127224d6e4603c2d4c2bae96eb30a1834c (diff)
downloadgdb-3b2935444fe89c883ffe7964b69556f3580ee1ef.zip
gdb-3b2935444fe89c883ffe7964b69556f3580ee1ef.tar.gz
gdb-3b2935444fe89c883ffe7964b69556f3580ee1ef.tar.bz2
* options.h (General_options::gc_sections): Define as a no-op for now.
(General_options::no_keep_memory): Ditto. (General_options::Bshareable): Define. * options.cc (General_options::finalize): Honor -Bshareable.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index 4148b0a..ba61d17 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -581,6 +581,10 @@ class General_options
N_("Check segment addresses for overlaps (default)"),
N_("Do not check segment addresses for overlaps"));
+ DEFINE_bool(gc_sections, options::TWO_DASHES, '\0', true,
+ N_("(noop) Garbage collect sections"),
+ N_("(noop) Do not garbage collect sections"));
+
#ifdef HAVE_ZLIB_H
DEFINE_enum(compress_debug_sections, options::TWO_DASHES, '\0', "none",
N_("Compress .debug_* sections in the output file"),
@@ -754,9 +758,15 @@ class General_options
DEFINE_bool(strip_lto_sections, options::TWO_DASHES, '\0', true,
N_("Strip LTO intermediate code sections"), NULL);
+ DEFINE_bool(no_keep_memory, options::TWO_DASHES, 's', false,
+ N_("Use less memory and more disk I/O (included only for compatibility with GNU ld)"), NULL);
+
DEFINE_bool(shared, options::ONE_DASH, '\0', false,
N_("Generate shared library"), NULL);
+ DEFINE_bool(Bshareable, options::ONE_DASH, '\0', false,
+ N_("Generate shared library"), NULL);
+
// This is not actually special in any way, but I need to give it
// a non-standard accessor-function name because 'static' is a keyword.
DEFINE_special(static, options::ONE_DASH, '\0',