commit | 1a4839f89446137089f2b45e17ddb28793262629 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Mon Mar 18 23:32:22 2019 +1030 |
committer | Alan Modra <amodra@gmail.com> | Mon Mar 18 23:37:21 2019 +1030 |
tree | 2c288af291fc3f91039831f841181f029d58a13e | |
parent | c6f021093dbd26b4d8e761e9a19af817e9f2561f [diff] |
PR24355, segmentation fault in function called from ppc_finish_symbols Backport to 2.30, where the problem might be triggered by gc-sections rather than inline PLT optimization as in the PR. PR 24355 * elf32-ppc.c (ppc_elf_relocate_section): Don't call write_glink_stub for local iplt syms with ent->plt.offset == -1. Remove ineffective attempt at writing glink stubs only once. Correct plt.offset mask.