binutils-gdb/ld/testsuite/ld-powerpc/inline-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

21 lines
513 B
Makefile

#source: inline.s
#as: -a64
#ld: -melf64ppc --hash-style=gnu
#ld_after_inputfiles: tmpdir/funv2.so
#objdump: -dr
.*
Disassembly of section \.text:
.*:
.*: (f8 41 00 18|18 00 41 f8) std r2,24\(r1\)
.*: (60 00 00 00|00 00 00 60) nop
.*: (e9 82 80 18|18 80 82 e9) ld r12,-32744\(r2\)
.*: (7d 89 03 a6|a6 03 89 7d) mtctr r12
.*: (4e 80 04 21|21 04 80 4e) bctrl
.*: (e8 41 00 18|18 00 41 e8) ld r2,24\(r1\)
#...
.* <my_func@plt>:
.*: (4b .. .. ..|.. .. .. 4b) b .* <__glink_PLTresolve>