summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-spu/fixup.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-spu/fixup.s')
-rw-r--r--ld/testsuite/ld-spu/fixup.s24
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-spu/fixup.s b/ld/testsuite/ld-spu/fixup.s
new file mode 100644
index 0000000..c0fd6db
--- /dev/null
+++ b/ld/testsuite/ld-spu/fixup.s
@@ -0,0 +1,24 @@
+ .global _end
+ .global _start
+ .global glob
+ .global after
+ .global before
+ .weak undef
+
+ .section .text,"ax"
+_start:
+ stop
+
+
+ .data
+ .p2align 4
+before:
+ .long _end, 0, _start, after
+ .long 0, 0, 0, glob
+loc:
+ .long 1,0,0,0
+glob:
+ .long 2,0,0,0
+after:
+ .long 0, 0, 0, before
+