diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-14 01:03:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-14 01:03:01 +0000 |
commit | a55ce7febfaa52670ce3d9c236d3033de80ac091 (patch) | |
tree | 5955950569cfe09f083ba0e217a1a8085a844103 /gold/options.cc | |
parent | b3c8c50a8f21a913e6c5dc91ff843cd4e924b01a (diff) | |
download | ppe42-binutils-a55ce7febfaa52670ce3d9c236d3033de80ac091.tar.gz ppe42-binutils-a55ce7febfaa52670ce3d9c236d3033de80ac091.zip |
From Craig Silverstein: Rework debug info code a bit, add option for
ODR violations, add test case.
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc index 9a0b9f8d16..d4d9e16cc2 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -353,6 +353,9 @@ options::Command_line_options::options[] = &Position_dependent_options::set_static_search), GENERAL_NOARG('\0', "Bsymbolic", N_("Bind defined symbols locally"), NULL, ONE_DASH, &General_options::set_symbolic), + GENERAL_NOARG('\0', "detect-odr-violations", + N_("Try to detect violations of the One Definition Rule"), + NULL, TWO_DASHES, &General_options::set_detect_odr_violations), GENERAL_NOARG('E', "export-dynamic", N_("Export all dynamic symbols"), NULL, TWO_DASHES, &General_options::set_export_dynamic), GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"), @@ -473,6 +476,7 @@ General_options::General_options() is_relocatable_(false), strip_(STRIP_NONE), symbolic_(false), + detect_odr_violations_(false), create_eh_frame_hdr_(false), rpath_(), rpath_link_(), |