old-cross-binutils/ld/testsuite/ld-powerpc/tocopt6.d
Richard Sandiford 92a9c616e4 Fix an opd->append index in elf64-ppc.c
bfd/
	* elf64-ppc.c (toc_adjusting_stub_needed): Use the symbol value
	plus addend rather than the original st_value when looking up
	entries in opd->adjust.

ld/testsuite/
	* ld-powerpc/tocopt6-inc.s, ld-powerpc/tocopt6a.s,
	ld-powerpc/tocopt6b.s, ld-powerpc/tocopt6c.s,
	ld-powerpc/tocopt6.d: New test.
	* ld-powerpc/powerpc.exp (ppc64elftests): Add it.
2015-07-05 19:57:07 +01:00

12 lines
247 B
Makefile

#...
.* bl .*<.*long_branch_r2off\.f1>
.* ld *r2,40\(r1\)
.* bl .*<.*long_branch_r2off\.f2>
.* ld *r2,40\(r1\)
.* bl .*<\.f3>
.* nop
.* bl .*<.*long_branch_r2off\.g2>
.* ld *r2,40\(r1\)
.* bl .*<.*long_branch_r2off\.in23>
.* ld *r2,40\(r1\)
#pass