aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-11-03 03:38:34 +0000
committerIan Lance Taylor <ian@airs.com>2011-11-03 03:38:34 +0000
commita8e2273bba9b658132165d70edb8b47023193e82 (patch)
tree020ead7a07c53309d4b6aac0b7f32a989937c1b4 /gold/options.h
parent983fb131e91595e10952d6c965647b76a33d6384 (diff)
downloadgdb-a8e2273bba9b658132165d70edb8b47023193e82.zip
gdb-a8e2273bba9b658132165d70edb8b47023193e82.tar.gz
gdb-a8e2273bba9b658132165d70edb8b47023193e82.tar.bz2
* arm.cc (Target_arm::may_use_v5t_interworking): Check whether
we are working around the ARM1176 Erratum. * options.h (General_options::fix_arm1176): Add option. * testsuite/Makefile.am: Add testcases, and keep current ones working. * testsuite/Makefile.in: Regenerate. * testsuite/arm_fix_1176.s: New file. * testsuite/arm_fix_1176.sh: Likewise.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index 9909483..8876a1e 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -771,6 +771,10 @@ class General_options
N_("(ARM only) Fix binaries for Cortex-A8 erratum."),
N_("(ARM only) Do not fix binaries for Cortex-A8 erratum."));
+ DEFINE_bool(fix_arm1176, options::TWO_DASHES, '\0', true,
+ N_("(ARM only) Fix binaries for ARM1176 erratum."),
+ N_("(ARM only) Do not fix binaries for ARM1176 erratum."));
+
DEFINE_bool(merge_exidx_entries, options::TWO_DASHES, '\0', true,
N_("(ARM only) Merge exidx entries in debuginfo."),
N_("(ARM only) Do not merge exidx entries in debuginfo."));