mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 11:51:22 +08:00
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:
parent
670dc171dc
commit
2bdfeb3854
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user