aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pru/reloc.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pru/reloc.s')
-rw-r--r--ld/testsuite/ld-pru/reloc.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pru/reloc.s b/ld/testsuite/ld-pru/reloc.s
new file mode 100644
index 0000000..3d40c2e
--- /dev/null
+++ b/ld/testsuite/ld-pru/reloc.s
@@ -0,0 +1,9 @@
+# Test for PRU 32-bit, 16 and 8-bit relocations
+
+ .global byte_sym
+ .global short_sym
+ .global long_sym
+
+ .set byte_sym, 0xFA
+ .set short_sym, 0xFACE
+ .set long_sym, 0xDEADBEEF