aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-08-01 12:14:22 +0930
committerAlan Modra <amodra@gmail.com>2018-08-01 12:14:22 +0930
commit1aa4214141d30f99f941266a3bedbc332d674c04 (patch)
tree4b9c07e9ab01128626d55d0d2e5ec6a1e55af98c /ld/ChangeLog
parentcb86a42aba5b6e1c135433e1c0c26223fd0f7a7f (diff)
downloadgdb-1aa4214141d30f99f941266a3bedbc332d674c04.zip
gdb-1aa4214141d30f99f941266a3bedbc332d674c04.tar.gz
gdb-1aa4214141d30f99f941266a3bedbc332d674c04.tar.bz2
PowerPC64 __tls_get_addr_opt stub .eh_frame fix
This patch sets stub_offset in ppc_size_one_stub rather than in ppc_build_one_stub. That allows the plt stub alignment to be done in just ppc_size_one_stub rather than both functions. The patch also corrects the place where the alignment was done, fixing a possible error in .eh_frame data, and tidies some offset calculations. bfd/ * elf64-ppc.c (plt_stub_pad): Delay plt_stub_size call until needed. (ppc_build_one_stub): Don't set stub_offset, instead assert that it is sane. Don't adjust stub_offset for alignment. Adjust size calculation. Use "targ" temp when calculating offsets. (ppc_size_one_stub): Set stub_offset here. Use "targ" temp when calculating offsets. Adjust for alignment before setting tls_get_addr_opt_bctrl. ld/ * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with plt alignment. * testsuite/ld-powerpc/tlsopt5.s: Add extra call. * testsuite/ld-powerpc/tlsopt5.wf: Adjust expected output. * testsuite/ld-powerpc/tlsopt5.d: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 36b4bb7..73e57b3 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,12 @@
2018-08-01 Alan Modra <amodra@gmail.com>
+ * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with plt alignment.
+ * testsuite/ld-powerpc/tlsopt5.s: Add extra call.
+ * testsuite/ld-powerpc/tlsopt5.wf: Adjust expected output.
+ * testsuite/ld-powerpc/tlsopt5.d: Likewise.
+
+2018-08-01 Alan Modra <amodra@gmail.com>
+
* po/BLD-POTFILES.in: Regenerate.
2018-07-30 Nick Clifton <nickc@redhat.com>