diff options
author | Jing Yu <jingyu@google.com> | 2011-12-20 10:27:58 -0800 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2011-12-20 10:27:58 -0800 |
commit | cf3cdbf8b3cda61a619299e7966a83df66244036 (patch) | |
tree | 201e2bcfc955f16802d3257112d29736cb3a3ce8 /binutils-2.21/ld/testsuite/ld-spu/ovl.s | |
parent | e4df3e0a5bb640ccfa2f30ee67fe9b3146b152d6 (diff) | |
download | toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.zip toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.gz toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.bz2 |
Add binutils-2.21.
Use --enable-gold=default for dual linker support.
Change-Id: Id1a744c7db58a0b5e7a3be174cdfa875f2f86e49
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-spu/ovl.s')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-spu/ovl.s | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-spu/ovl.s b/binutils-2.21/ld/testsuite/ld-spu/ovl.s new file mode 100644 index 0000000..2ca380a --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-spu/ovl.s @@ -0,0 +1,82 @@ + .text + .p2align 2 + .globl _start +_start: + ai sp,sp,-32 + xor lr,lr,lr + stqd lr,0(sp) + stqd lr,16(sp) + brsl lr,f1_a1 + brsl lr,f2_a1 + brsl lr,f1_a2 + ila 9,f2_a2 + bisl lr,9 + ai sp,sp,32 + br _start + + .type f0,@function +f0: + bi lr + .size f0,.-f0 + + .section .ov_a1,"ax",@progbits + .p2align 2 + .global f1_a1 + .type f1_a1,@function +f1_a1: + br f3_a1 + .size f1_a1,.-f1_a1 + + .global f2_a1 + .type f2_a1,@function +f2_a1: + ila 3,f4_a1 + bi lr + .size f2_a1,.-f2_a1 + + .global f3_a1 + .type f3_a1,@function +f3_a1: + bi lr + .size f3_a1,.-f3_a1 + + .global f4_a1 + .type f4_a1,@function +f4_a1: + bi lr + .size f4_a1,.-f4_a1 + + + .section .ov_a2,"ax",@progbits + .p2align 2 + .global f1_a2 + .type f1_a2,@function +f1_a2: + stqd lr,16(sp) + stqd sp,-32(sp) + ai sp,sp,-32 + brsl lr,f0 + brsl lr,f1_a1 + brsl lr,f3_a2 + lqd lr,48(sp) + ai sp,sp,32 + bi lr + .size f1_a2,.-f1_a2 + + .global f2_a2 + .type f2_a2,@function +f2_a2: + ilhu 3,f4_a2@h + iohl 3,f4_a2@l + bi lr + .size f2_a2,.-f2_a2 + + .type f3_a2,@function +f3_a2: + bi lr + .size f3_a2,.-f3_a2 + + .type f4_a2,@function +f4_a2: + br f3_a2 + .size f4_a2,.-f4_a2 |