3f6ff4799b
Not a lot is conveyed by putting _r2off in a stub symbol that can't be seen by inspecting the stub code or the toc restoring instruction immediately after a call via such a stub. Also, we don't distinguish plt_call stub symbols from plt_call_r2save stub symbols, so this patch makes long branch and plt branch stub symbols consistent with that decision. bfd/ * elf64-ppc.c (ppc_build_one_stub): Lose "_r2off" in stub symbols. ld/ * testsuite/ld-powerpc/elfv2exe.d: Adjust for stub symbol change. * testsuite/ld-powerpc/tocopt6.d: Likewise.
13 lines
223 B
Makefile
13 lines
223 B
Makefile
#...
|
|
.* bl .*<.*long_branch\.f1>
|
|
.* ld *r2,40\(r1\)
|
|
.* bl .*<.*long_branch\.f2>
|
|
.* ld *r2,40\(r1\)
|
|
.* bl .*<\.f3>
|
|
.* nop
|
|
.* bl .*<.*long_branch\.g2>
|
|
.* ld *r2,40\(r1\)
|
|
.* bl .*<.*long_branch\.in23>
|
|
.* ld *r2,40\(r1\)
|
|
#pass
|