diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-19 23:50:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-19 23:50:56 +0000 |
commit | 192f9b850184bb882d2367ed9a842500e7519bfa (patch) | |
tree | 0b748b374eb71e4e53516593dbb830f77d2e8e90 /gold | |
parent | 01fe12f6fb039ef2841440b214d9fb905767a14d (diff) | |
download | gdb-192f9b850184bb882d2367ed9a842500e7519bfa.zip gdb-192f9b850184bb882d2367ed9a842500e7519bfa.tar.gz gdb-192f9b850184bb882d2367ed9a842500e7519bfa.tar.bz2 |
Fix handling of --eh-frame-hdr option.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/options.cc | 2 | ||||
-rw-r--r-- | gold/options.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gold/options.cc b/gold/options.cc index 2c0579e..fc3d7c6 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -253,7 +253,7 @@ options::Command_line_options::options[] = N_("-R DIR, -rpath DIR"), ONE_DASH, &General_options::add_to_rpath), 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", N_("Add DIR to link time shared library search path"), N_("--rpath-link DIR"), TWO_DASHES, diff --git a/gold/options.h b/gold/options.h index 3521f08..f1f21e0 100644 --- a/gold/options.h +++ b/gold/options.h @@ -118,7 +118,7 @@ class General_options { this->is_relocatable_ = true; } void - create_eh_frame_hdr() + set_create_eh_frame_hdr() { this->create_eh_frame_hdr_ = true; } void |