aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/inlinepcrel-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/inlinepcrel-1.d')
-rw-r--r--ld/testsuite/ld-powerpc/inlinepcrel-1.d17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/inlinepcrel-1.d b/ld/testsuite/ld-powerpc/inlinepcrel-1.d
new file mode 100644
index 0000000..7dcb3ad
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/inlinepcrel-1.d
@@ -0,0 +1,17 @@
+#source: inlinepcrel.s
+#as: -a64 -mpower10
+#ld: -melf64ppc -shared --hash-style=gnu
+#objdump: -dr -Mpower10
+
+.*
+
+Disassembly of section \.text:
+
+.*:
+.*: (04 10 00 01|01 00 10 04) pld r12,65944
+.*: (e5 80 01 98|98 01 80 e5)
+.*: (7d 89 03 a6|a6 03 89 7d) mtctr r12
+.*: (4e 80 04 21|21 04 80 4e) bctrl
+#...
+.* <my_func@plt>:
+.*: (4b .. .. ..|.. .. .. 4b) b .* <__glink_PLTresolve>