Lose _r2off in powerpc64 stub names
authorAlan Modra <amodra@gmail.com>
Fri, 3 Aug 2018 07:15:25 +0000 (16:45 +0930)
committerAlan Modra <amodra@gmail.com>
Sun, 5 Aug 2018 01:03:07 +0000 (10:33 +0930)
commit3f6ff4799bc50e6030bb707b2b2b525fcfdd2216
tree6eeb00a174a088a64b750e882fc7ddf370a8e34b
parent1a6204c9a73d10fe65c0b0b54d542cf73d156a56
Lose _r2off in powerpc64 stub names

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.
bfd/ChangeLog
bfd/elf64-ppc.c
ld/ChangeLog
ld/testsuite/ld-powerpc/elfv2exe.d
ld/testsuite/ld-powerpc/tocopt6.d
This page took 0.029262 seconds and 4 git commands to generate.