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 /gdb/ada-lang.c | |
parent | 598beeff91ca20aa09586d8b39eae8a1ae83baa0 (diff) | |
download | gdb-3ba720c788c2845c93a6dfe592f36163cbfa63fd.zip gdb-3ba720c788c2845c93a6dfe592f36163cbfa63fd.tar.gz 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 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions