From 37a9ac43fbaaefa914f34c7eebf27c328a796aec Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 3 Nov 2009 15:57:02 +0000 Subject: [PATCH] * options.h (class General_options): Add --warn_constructors. --- gold/ChangeLog | 4 ++++ gold/options.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gold/ChangeLog b/gold/ChangeLog index ac1861d..40287bb 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,9 @@ 2009-11-03 Ian Lance Taylor + * options.h (class General_options): Add --warn_constructors. + +2009-11-03 Ian Lance Taylor + PR 10893 * defstd.cc (in_section): Add entries for __rel_iplt_start, __rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack. diff --git a/gold/options.h b/gold/options.h index ef27de1..c1d5329 100644 --- a/gold/options.h +++ b/gold/options.h @@ -918,6 +918,9 @@ class General_options DEFINE_special(version_script, options::TWO_DASHES, '\0', N_("Read version script"), N_("FILE")); + DEFINE_bool(warn_constructors, options::TWO_DASHES, '\0', false, + N_("Ignored"), N_("Ignored")); + DEFINE_bool(warn_search_mismatch, options::TWO_DASHES, '\0', true, N_("Warn when skipping an incompatible library"), N_("Don't warn when skipping an incompatible library")); -- 2.7.4