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
This commit is contained in:
Adam Nemet 2009-01-14 19:46:38 +00:00 committed by Adam Nemet
parent 670dc171dc
commit 2bdfeb3854
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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) {