Commit 2bdfeb38 by Adam Nemet Committed by Adam Nemet

mips.exp (mips_option_tests(-mips16)): Make the sequence PC-relative.

	* gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the
	sequence PC-relative.

From-SVN: r143382
parent 670dc171
2009-01-14 Adam Nemet <anemet@caviumnetworks.com>
* gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the
sequence PC-relative.
2009-01-14 Mark Mitchell <mark@codesourcery.com>
* gcc.target/arm/long-calls-1.c: Tolerate the lack of sibling
......
......@@ -269,15 +269,14 @@ set mips_abi_groups {
# on a target that supports OPTION.
set mips_option_tests(-mips16) {
move $2,$31
jal 1f
b 2f
.align 2
bal 1f
.set mips16
1:
jr $31
.set nomips16
.align 2
2:
1:
ori $3,$31,1
jalr $3
move $31,$2
}
set mips_option_tests(-mpaired-single) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment