aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-spu/ovl2.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-03-27 08:36:27 +0000
committerAlan Modra <amodra@gmail.com>2007-03-27 08:36:27 +0000
commit0fd7d34280f0114377d1f94253d813b7360ad44e (patch)
tree5d8fc8a95c2353ae9208781f0a31ae1480c449be /ld/testsuite/ld-spu/ovl2.d
parentf24f8f707cfb237a3522ab51699662954ed9d1b5 (diff)
downloadgdb-0fd7d34280f0114377d1f94253d813b7360ad44e.zip
gdb-0fd7d34280f0114377d1f94253d813b7360ad44e.tar.gz
gdb-0fd7d34280f0114377d1f94253d813b7360ad44e.tar.bz2
* ld-spu/spu.exp (embed_test): New.
* ld-spu/ear.s: New. * ld-spu/ear.d: New. * ld-spu/embed.rd: New. * ld-spu/ovl2.s: New. * ld-spu/ovl2.d: New.
Diffstat (limited to 'ld/testsuite/ld-spu/ovl2.d')
-rw-r--r--ld/testsuite/ld-spu/ovl2.d81
1 files changed, 81 insertions, 0 deletions
diff --git a/ld/testsuite/ld-spu/ovl2.d b/ld/testsuite/ld-spu/ovl2.d
new file mode 100644
index 0000000..ea2644b
--- /dev/null
+++ b/ld/testsuite/ld-spu/ovl2.d
@@ -0,0 +1,81 @@
+#source: ovl2.s
+#ld: -N -T ovl.lnk --emit-relocs
+#objdump: -D -r
+
+.*elf32-spu
+
+Disassembly of section \.text:
+
+00000100 <_start>:
+ 100: 33 00 06 00 brsl \$0,130 <00000000\.ovl_call\.f1_a1> # 130
+ 100: SPU_REL16 f1_a1
+ 104: 33 00 03 80 brsl \$0,120 <00000000\.ovl_call\.10:4> # 120
+ 104: SPU_REL16 setjmp
+ 108: 32 7f ff 00 br 100 <_start> # 100
+ 108: SPU_REL16 _start
+
+0000010c <setjmp>:
+ 10c: 35 00 00 00 bi \$0
+
+00000110 <longjmp>:
+ 110: 35 00 00 00 bi \$0
+ ...
+
+00000120 <00000000\.ovl_call.10:4>:
+ 120: 42 00 86 4f ila \$79,268 # 10c
+ 124: 40 20 00 00 nop \$0
+ 128: 42 00 00 4e ila \$78,0
+ 12c: 32 00 0a 80 br 180 <__ovly_load> # 180
+
+00000130 <00000000\.ovl_call.f1_a1>:
+ 130: 42 02 00 4f ila \$79,1024 # 400
+ 134: 40 20 00 00 nop \$0
+ 138: 42 00 00 ce ila \$78,1
+ 13c: 32 00 08 80 br 180 <__ovly_load> # 180
+
+00000140 <00000000\.ovl_call\._SPUEAR_f1_a2>:
+ 140: 42 02 00 4f ila \$79,1024 # 400
+ 144: 40 20 00 00 nop \$0
+ 148: 42 00 01 4e ila \$78,2
+ 14c: 32 00 06 80 br 180 <__ovly_load> # 180
+#...
+Disassembly of section \.ov_a1:
+
+00000400 <f1_a1>:
+ 400: 35 00 00 00 bi \$0
+ \.\.\.
+Disassembly of section \.ov_a2:
+
+00000400 <_SPUEAR_f1_a2>:
+ 400: 32 7f a2 00 br 110 <longjmp> # 110
+ 400: SPU_REL16 longjmp
+ \.\.\.
+Disassembly of section \.data:
+
+00000410 <_ovly_table>:
+ 410: 00 00 04 00 .*
+ 414: 00 00 00 10 .*
+ 418: 00 00 02 c0 .*
+ 41c: 00 00 00 01 .*
+ 420: 00 00 04 00 .*
+ 424: 00 00 00 10 .*
+ 428: 00 00 02 d0 .*
+ 42c: 00 00 00 01 .*
+
+00000430 <_ovly_buf_table>:
+ 430: 00 00 00 00 .*
+Disassembly of section \.toe:
+
+00000440 <_EAR_>:
+ \.\.\.
+Disassembly of section \.note\.spu_name:
+
+.* <\.note\.spu_name>:
+.*: 00 00 00 08 .*
+.*: 00 00 00 0c .*
+.*: 00 00 00 01 .*
+.*: 53 50 55 4e .*
+.*: 41 4d 45 00 .*
+.*: 74 6d 70 64 .*
+.*: 69 72 2f 64 .*
+.*: 75 6d 70 00 .*