aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-spu/ear.s
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/ear.s
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/ear.s')
-rw-r--r--ld/testsuite/ld-spu/ear.s25
1 files changed, 25 insertions, 0 deletions
diff --git a/ld/testsuite/ld-spu/ear.s b/ld/testsuite/ld-spu/ear.s
new file mode 100644
index 0000000..ba0be05
--- /dev/null
+++ b/ld/testsuite/ld-spu/ear.s
@@ -0,0 +1,25 @@
+ .text
+ .global _start
+_start:
+ br _start
+
+#test old-style toe _EAR_ syms
+ .section .toe,"a",@nobits
+_EAR_:
+ .space 16
+_EAR_bar:
+ .space 16
+
+#test new-style _EAR_ syms
+ .data
+_EAR_main:
+ .space 16
+
+#new ones don't need to be 16 bytes apart
+ .space 16
+_EAR_foo:
+ .space 16
+
+ .section .data.blah,"aw",@progbits
+_EAR_blah:
+ .space 16