aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/v32-bin-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/v32-bin-1.d')
-rw-r--r--ld/testsuite/ld-cris/v32-bin-1.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/v32-bin-1.d b/ld/testsuite/ld-cris/v32-bin-1.d
new file mode 100644
index 0000000..ef2d39a
--- /dev/null
+++ b/ld/testsuite/ld-cris/v32-bin-1.d
@@ -0,0 +1,11 @@
+#as: --em=criself --march=v32
+#ld: --oformat binary --defsym ext1=0x4000 --defsym ext2=0x6000
+#objdump: -s -b binary
+
+# Test that pcrel relocs work with --oformat binary.
+
+.*: file format binary
+
+Contents of section \.data:
+ 0000 7f5d0020 0000bfbe fa7f0000 b0057f3d .*
+ 0010 f23f0000 bfbeec5f 0000b005 .*