mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
92a9c616e4
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.
13 lines
247 B
Makefile
13 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
|