From 3f6ff4799bc50e6030bb707b2b2b525fcfdd2216 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 3 Aug 2018 16:45:25 +0930 Subject: 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 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ec4077f..e23f747 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2018-08-05 Alan Modra + + * elf64-ppc.c (ppc_build_one_stub): Lose "_r2off" in stub symbols. + 2018-08-02 Jim Wilson * elfnn-riscv.c (riscv_elf_create_dynamic_sections): For .tdata.dyn, -- cgit v1.1