Fix handling of --eh-frame-hdr option.
authorIan Lance Taylor <iant@google.com>
Wed, 19 Sep 2007 23:50:56 +0000 (23:50 +0000)
committerIan Lance Taylor <iant@google.com>
Wed, 19 Sep 2007 23:50:56 +0000 (23:50 +0000)
gold/options.cc
gold/options.h

index 2c0579e07f79dabdc00142cef9028ef6d134bb81..fc3d7c66b2318a0a119fbf0e8d5377054aaf5351 100644 (file)
@@ -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,
index 3521f084f4a40585ce0e817998fbbbbf937515f5..f1f21e041fd4cd7515126302802d016a40b3d49f 100644 (file)
@@ -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