diff options
author | Alan Modra <amodra@gmail.com> | 2010-01-25 06:47:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-01-25 06:47:16 +0000 |
commit | 766bc6567a42d77ac24103c5f7b9e14aaab81bba (patch) | |
tree | 6cb67fa0f34112fa7ee7a91847c496fdc9067e55 /bfd/ChangeLog | |
parent | d2c7a1a63b98c1add3d78ba71ffa9f2a105c1cd4 (diff) | |
download | ppe42-binutils-766bc6567a42d77ac24103c5f7b9e14aaab81bba.tar.gz ppe42-binutils-766bc6567a42d77ac24103c5f7b9e14aaab81bba.zip |
PR ld/11217
* elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
with relocations against undefined weak symbols.
(ppc64_elf_relocate_section): Don't optimize calls to undefined
weak functions if the symbol is dynamic.
(ppc64_elf_relocate_section): Edit tprel tls sequences.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
(_bfd_elf_ppc_at_tprel_transform): New function.
* bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 714f03fe7d..c9c2d3acad 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,16 @@ +2010-01-25 Alan Modra <amodra@gmail.com> + + PR ld/11217 + * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences + with relocations against undefined weak symbols. + (ppc64_elf_relocate_section): Don't optimize calls to undefined + weak functions if the symbol is dynamic. + (ppc64_elf_relocate_section): Edit tprel tls sequences. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + (_bfd_elf_ppc_at_tprel_transform): New function. + * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare. + * bfd-in2.h: Regenerate. + 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com> * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1. |