summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nios2/s16.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-nios2/s16.d')
-rw-r--r--ld/testsuite/ld-nios2/s16.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-nios2/s16.d b/ld/testsuite/ld-nios2/s16.d
new file mode 100644
index 0000000..6257e18
--- /dev/null
+++ b/ld/testsuite/ld-nios2/s16.d
@@ -0,0 +1,12 @@
+#name: NIOS2 R_NIOS2_S16
+#source: s16.s
+#source: s16_symbol.s
+#ld:
+#objdump: -s
+
+# Test the signed 16-bit relocations.
+.*: +file format elf32-littlenios2
+
+Contents of section .text:
+ [0-9a-f]+ 04004408 04006008 c4ff5f08 44004808 ..D...`..._.D.H.
+ [0-9a-f]+ 44004008 D.@.