diff options
author | Alan Modra <amodra@gmail.com> | 2014-01-24 14:22:10 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-01-24 14:26:39 +1030 |
commit | 3ba720c788c2845c93a6dfe592f36163cbfa63fd (patch) | |
tree | 01e49d9d621be39c262fe17036377ab08600fb99 /bfd/ChangeLog | |
parent | 598beeff91ca20aa09586d8b39eae8a1ae83baa0 (diff) | |
download | fsf-binutils-gdb-3ba720c788c2845c93a6dfe592f36163cbfa63fd.zip fsf-binutils-gdb-3ba720c788c2845c93a6dfe592f36163cbfa63fd.tar.gz fsf-binutils-gdb-3ba720c788c2845c93a6dfe592f36163cbfa63fd.tar.bz2 |
Fixes powerpc64le ld segfaults when --emit-relocs is used.
ELFv2 needs fewer relocs to annotate plt call stubs. I correctly
allocated a smaller buffer and wrote the proper relocs, but stupidly
bumped the reloc count as for ELFv1.
* elf64-ppc.c (ppc_build_one_stub): Correct reloc count passed
to get_relocs for ELFv2.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 78aa794..a5fcadf 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,7 +1,12 @@ +2014-01-24 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc_build_one_stub): Correct reloc count passed + to get_relocs for ELFv2. + 2014-01-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/16498 - * elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error + * elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error if TLS sections are not adjacent. 2014-01-22 Alan Modra <amodra@gmail.com> |