Fix handling of --eh-frame-hdr option.
This commit is contained in:
parent
01fe12f6fb
commit
192f9b8501
|
@ -253,7 +253,7 @@ options::Command_line_options::options[] =
|
||||||
N_("-R DIR, -rpath DIR"), ONE_DASH,
|
N_("-R DIR, -rpath DIR"), ONE_DASH,
|
||||||
&General_options::add_to_rpath),
|
&General_options::add_to_rpath),
|
||||||
GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"),
|
GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"),
|
||||||
NULL, TWO_DASHES, &General_options::create_eh_frame_hdr),
|
NULL, TWO_DASHES, &General_options::set_create_eh_frame_hdr),
|
||||||
GENERAL_ARG('\0', "rpath-link",
|
GENERAL_ARG('\0', "rpath-link",
|
||||||
N_("Add DIR to link time shared library search path"),
|
N_("Add DIR to link time shared library search path"),
|
||||||
N_("--rpath-link DIR"), TWO_DASHES,
|
N_("--rpath-link DIR"), TWO_DASHES,
|
||||||
|
|
|
@ -118,7 +118,7 @@ class General_options
|
||||||
{ this->is_relocatable_ = true; }
|
{ this->is_relocatable_ = true; }
|
||||||
|
|
||||||
void
|
void
|
||||||
create_eh_frame_hdr()
|
set_create_eh_frame_hdr()
|
||||||
{ this->create_eh_frame_hdr_ = true; }
|
{ this->create_eh_frame_hdr_ = true; }
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue