aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/inlinepcrel-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/inlinepcrel-2.d')
-rw-r--r--ld/testsuite/ld-powerpc/inlinepcrel-2.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/inlinepcrel-2.d b/ld/testsuite/ld-powerpc/inlinepcrel-2.d
new file mode 100644
index 0000000..5e901dc
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/inlinepcrel-2.d
@@ -0,0 +1,18 @@
+#source: inlinepcrel.s
+#as: -a64 -mpower10
+#ld: -melf64ppc --hash-style=gnu
+#ld_after_inputfiles: tmpdir/funv2.so
+#objdump: -dr -Mpower10
+
+.*
+
+Disassembly of section \.text:
+
+.*:
+.*: (04 10 00 01|01 00 10 04) pld r12,66072
+.*: (e5 80 02 18|18 02 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>