diff options
author | Alan Modra <amodra@gmail.com> | 2021-11-02 19:01:06 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-11-03 10:46:29 +1030 |
commit | a442059f66075e4e503c43b119cc8b7de04e5718 (patch) | |
tree | 7e3791fb77f3d3d4d6903a7a47c657b9b02e1319 /bfd/i386bsd.c | |
parent | b480ee76e4a94317459e6ee91b48fd32fd883e30 (diff) | |
download | gdb-a442059f66075e4e503c43b119cc8b7de04e5718.zip gdb-a442059f66075e4e503c43b119cc8b7de04e5718.tar.gz gdb-a442059f66075e4e503c43b119cc8b7de04e5718.tar.bz2 |
PR28523, ld.bfd created undefined symbols on ppc64
This patch removes any fake (linker created) function descriptor
symbol if its code entry symbol isn't dynamic, to ensure bogus dynamic
symbols are not created. The change to func_desc_adjust requires that
it be run only once, which means ppc64_elf_tls_setup can't call it for
just a few selected symbols.
PR 28523
* elf64-ppc.c (func_desc_adjust): If a function entry sym is
not dynamic and has no plt entry, hide any associated fake
function descriptor symbol.
(ppc64_elf_edit): Move func_desc_adjust iteration over syms to..
(ppc64_elf_tls_setup): ..here.
Diffstat (limited to 'bfd/i386bsd.c')
0 files changed, 0 insertions, 0 deletions