]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/cris/rd-bcnst2-pic.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / cris / rd-bcnst2-pic.d
diff --git a/gas/testsuite/gas/cris/rd-bcnst2-pic.d b/gas/testsuite/gas/cris/rd-bcnst2-pic.d
new file mode 100644 (file)
index 0000000..c1e11a1
--- /dev/null
@@ -0,0 +1,17 @@
+#objdump: -dr
+#as: --pic --underscore --em=criself
+#source: rd-bcnst2.s
+
+# Catches an error in the relaxation machinery.
+
+.*:     file format elf32.*-cris
+
+Disassembly of section \.text:
+
+0+ <\.text>:
+[      ]+0:[   ]+0ae0[         ]+ba 0xc
+[      ]+2:[   ]+0f05[         ]+nop 
+[      ]+4:[   ]+6ffd 0000 0000 3f0e[  ]+move \[pc=pc\+0x0\],p0
+[      ]+6:[   ]+R_CRIS_32_PCREL[      ]+x0x42
+[      ]+c:[   ]+f770[         ]+bmi 0x4
+[      ]+e:[   ]+0f05[         ]+nop