aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/kvx/pcrel_bundle32bits.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/kvx/pcrel_bundle32bits.d')
-rw-r--r--binutils/testsuite/binutils-all/kvx/pcrel_bundle32bits.d33
1 files changed, 33 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/kvx/pcrel_bundle32bits.d b/binutils/testsuite/binutils-all/kvx/pcrel_bundle32bits.d
new file mode 100644
index 0000000..732b3c5
--- /dev/null
+++ b/binutils/testsuite/binutils-all/kvx/pcrel_bundle32bits.d
@@ -0,0 +1,33 @@
+#name: pcrel_bundle
+#source: pcrel_bundle.s
+#PROG: objcopy
+#as: -m32
+#objdump: -dr
+#...
+
+Disassembly of section .text:
+
+00000000 <foo>:
+ 0: 00 0b 00 f0 00 00 00 00 pcrel \$r0 = 44 \(0x2c\);;
+
+ 8: 0b 00 00 98 call 34 <bar>
+ c: 00 09 00 f0 00 00 00 00 pcrel \$r0 = 36 \(0x24\);;
+
+ 14: 08 00 00 98 call 34 <bar>
+ 18: 00 06 00 f0 00 00 00 b8 pcrel \$r0 = 24 \(0x18\)
+ 20: 00 00 00 00 ld \$r0 = 0 \(0x0\)\[\$r0\];;
+
+ 24: 00 f0 03 7f nop;;
+
+ 28: 00 f0 03 7f nop;;
+
+
+0000002c <.table>:
+ 2c: 00 f0 03 7f nop;;
+
+ 30: 00 f0 03 7f nop;;
+
+
+00000034 <bar>:
+ 34: 00 f0 03 7f nop;;
+