summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/ppc/xcoff-toc-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/ppc/xcoff-toc-1.d')
-rw-r--r--gas/testsuite/gas/ppc/xcoff-toc-1.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/testsuite/gas/ppc/xcoff-toc-1.d b/gas/testsuite/gas/ppc/xcoff-toc-1.d
new file mode 100644
index 0000000000..bb856944f6
--- /dev/null
+++ b/gas/testsuite/gas/ppc/xcoff-toc-1.d
@@ -0,0 +1,12 @@
+#as: -a32
+#source: xcoff-toc-1.s
+#objdump: -dr
+#name: XCOFF TOC reloc test 1
+
+.*
+Disassembly of section \.text:
+
+00000000 <\.foo>:
+ 0: 80 22 00 00 l r1,0\(r2\)
+ 2: R_TOC data-0x10010
+ 4: 4e 80 00 20 br