summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/ppc/xcoff-br16-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/ppc/xcoff-br16-2.d')
-rw-r--r--gas/testsuite/gas/ppc/xcoff-br16-2.d20
1 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/gas/ppc/xcoff-br16-2.d b/gas/testsuite/gas/ppc/xcoff-br16-2.d
new file mode 100644
index 0000000000..173ed06211
--- /dev/null
+++ b/gas/testsuite/gas/ppc/xcoff-br16-2.d
@@ -0,0 +1,20 @@
+#as: -a32
+#source: xcoff-br16-2.s
+#objdump: -P relocs -dr
+#name: XCOFF R_RBR/16 reloc test 2
+
+.*
+Relocations for \.text .*
+vaddr sgn mod sz type symndx symbol
+00000002 S 16 RBR [0-9] c
+00000006 S 16 RBR [0-9] c
+
+
+
+Disassembly of section \.text:
+
+00000000 <\.text>:
+ 0: 40 82 00 04 bne 0x4
+ 2: R_RBR_16 c
+ 4: 40 82 00 01 bnel 0x4
+ 6: R_RBR_16 c