binutils-gdb/ld/testsuite/ld-powerpc/inlinepcrel-2.d
Alan Modra 0dbd452ad2 PowerPC64 inline PLT call tests
* testsuite/ld-powerpc/inline.s,
	* testsuite/ld-powerpc/inline-1.d,
	* testsuite/ld-powerpc/inline-2.d,
	* testsuite/ld-powerpc/inline-3.d,
	* testsuite/ld-powerpc/inline-4.d,
	* testsuite/ld-powerpc/inlinepcrel.s,
	* testsuite/ld-powerpc/inlinepcrel-1.d,
	* testsuite/ld-powerpc/inlinepcrel-2.d,
	* testsuite/ld-powerpc/inlinepcrel-3.d: New tests.
	* testsuite/ld-powerpc/powerpc.exp: Run them.
2020-08-16 23:00:34 +09:30

19 lines
425 B
D

#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>