aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2008-12-05 21:13:35 +0000
committerCary Coutant <ccoutant@google.com>2008-12-05 21:13:35 +0000
commitfd06b4aa51e5e4b322f4784e3ea248e25aab733a (patch)
treea7ba84deb25f1e34d89df746d8728a0396dec609 /gold/options.h
parent116e096528b54672ab60a35e88312ca57200232c (diff)
downloadgdb-fd06b4aa51e5e4b322f4784e3ea248e25aab733a.zip
gdb-fd06b4aa51e5e4b322f4784e3ea248e25aab733a.tar.gz
gdb-fd06b4aa51e5e4b322f4784e3ea248e25aab733a.tar.bz2
* layout.cc (Layout::include_section): Check for SHF_EXCLUDE.
Handle --strip-lto-sections option. * options.h (strip_lto_sections): New option.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index be08d99..f92184f 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -748,6 +748,8 @@ class General_options
DEFINE_bool(strip_debug_gdb, options::TWO_DASHES, '\0', false,
N_("Strip debug symbols that are unused by gdb "
"(at least versions <= 6.7)"), NULL);
+ DEFINE_bool(strip_lto_sections, options::TWO_DASHES, '\0', true,
+ N_("Strip LTO intermediate code sections"), NULL);
DEFINE_bool(shared, options::ONE_DASH, '\0', false,
N_("Generate shared library"), NULL);