summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/mips/pcrel-4-32.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/mips/pcrel-4-32.d')
-rw-r--r--binutils-2.25/gas/testsuite/gas/mips/pcrel-4-32.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/mips/pcrel-4-32.d b/binutils-2.25/gas/testsuite/gas/mips/pcrel-4-32.d
new file mode 100644
index 00000000..06bc52b7
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/mips/pcrel-4-32.d
@@ -0,0 +1,18 @@
+#objdump: -sr
+#name: Valid cross-section PC-relative references (o32)
+#as: -32 -EB
+#source: pcrel-4.s
+
+.*: file format .*
+
+RELOCATION RECORDS FOR \[\.data\]:
+OFFSET TYPE VALUE
+00000000 R_MIPS_PC32 foo
+00000004 R_MIPS_PC32 foo
+00000008 R_MIPS_PC32 foo
+0000000c R_MIPS_PC32 foo
+
+#...
+Contents of section \.data:
+ 0000 00000000 00000004 00000008 fffffff0 ................
+#pass