forked from Imagelibrary/binutils-gdb
From Craig Silverstein: Rework debug info code a bit, add option for
ODR violations, add test case.
This commit is contained in:
@@ -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_(),
|
||||
|
||||
Reference in New Issue
Block a user