binutils-gdb/ld/testsuite/ld-powerpc/inlinepcrel-3.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
362 B
D

#source: inlinepcrel.s
#source: funv2.s
#as: -a64 -mpower10
#ld: -melf64ppc --hash-style=gnu
#objdump: -dr -Mpower10
.*
Disassembly of section \.text:
.*:
.*: (07 00 00 00|00 00 00 07) pnop
.*: (00 00 00 00|00 00 00 00)
.*: (60 00 00 00|00 00 00 60) nop
.*: (48 .. .. ..|.. .. .. 48) bl .* <my_func>
.* <my_func>:
.*: (4e 80 00 20|20 00 80 4e) blr