diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-11-03 03:38:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-11-03 03:38:34 +0000 |
commit | a8e2273bba9b658132165d70edb8b47023193e82 (patch) | |
tree | 020ead7a07c53309d4b6aac0b7f32a989937c1b4 /gold/testsuite/arm_fix_1176.s | |
parent | 983fb131e91595e10952d6c965647b76a33d6384 (diff) |
* 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/testsuite/arm_fix_1176.s')
-rw-r--r-- | gold/testsuite/arm_fix_1176.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gold/testsuite/arm_fix_1176.s b/gold/testsuite/arm_fix_1176.s new file mode 100644 index 0000000000..96e03284ac --- /dev/null +++ b/gold/testsuite/arm_fix_1176.s @@ -0,0 +1,15 @@ + .syntax unified + .globl _start + .globl func_to_branch_to + + .arm + .text +func_to_branch_to: + bx lr + + .thumb + .section .foo, "xa" + .thumb_func +_start: + bl func_to_branch_to + |