summaryrefslogtreecommitdiff
path: root/gold/options.cc
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2010-01-22 19:43:00 +0000
committerDoug Kwan <dougkwan@google.com>2010-01-22 19:43:00 +0000
commit9b2fd367561081579a4ee270a6de58d3de910631 (patch)
treebe48b08ad6f41b699ec61ddc9ded68fa7924c79e /gold/options.cc
parent80d0d023f5c6b8fdd7bb3e468acedb9c9e80413d (diff)
downloadbinutils-gdb-9b2fd367561081579a4ee270a6de58d3de910631.tar.gz
2010-01-22 Viktor Kutuzov <vkutuzov@accesssoftek.com>
* gold/arm.cc (Target_arm): Updated fix_v4bx method and usage of Fix_v4bx enum values . * gold/options.h (General_options): New option definitions. (General_options::fix_v4bx): New method. (General_options::Fix_v4bx): New enum. * gold/options.cc (General_options::parse_fix_v4bx): New method. (General_options::parse_fix_v4bx_interworking): New method.
Diffstat (limited to 'gold/options.cc')
-rw-r--r--gold/options.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc
index 6c0fa041ec7..f377387ed23 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -586,6 +586,20 @@ General_options::string_to_object_format(const char* arg)
}
}
+void
+General_options::parse_fix_v4bx(const char*, const char*,
+ Command_line*)
+{
+ this->fix_v4bx_ = FIX_V4BX_REPLACE;
+}
+
+void
+General_options::parse_fix_v4bx_interworking(const char*, const char*,
+ Command_line*)
+{
+ this->fix_v4bx_ = FIX_V4BX_INTERWORKING;
+}
+
} // End namespace gold.
namespace