aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-04-26 13:01:27 +0100
committerPedro Alves <palves@redhat.com>2018-04-26 13:08:01 +0100
commit1adeb822668d3bd7182ca9b8cf42a7261deb3c7f (patch)
tree7a54ed0fc3d7db7bd91203c5e1441a63cc6340fb /gas
parent42ddae103c9eb20fb87378548ee95b4bd23648a5 (diff)
downloadgdb-1adeb822668d3bd7182ca9b8cf42a7261deb3c7f.zip
gdb-1adeb822668d3bd7182ca9b8cf42a7261deb3c7f.tar.gz
gdb-1adeb822668d3bd7182ca9b8cf42a7261deb3c7f.tar.bz2
For PPC64: elf_gnu_ifunc_record_cache: handle plt symbols in .text section
elf_gnu_ifunc_record_cache doesn't ever record anything on PPC64 (tested on gcc110 on the compile farm, CentOS 7.4, ELFv1), because that expects to find PLT symbols in the .plt section, while there we get: (gdb) info symbol 'gnu_ifunc@plt' gnu_ifunc@plt in section .text ^^^^^ I guess that may be related to the comment in ppc-linux-tdep.c that says "For secure PLT, stub is in .text". In any case, this commit fixes the issue by making the function look at the symbol name instead of at the section. gdb/ChangeLog: 2018-04-26 Pedro Alves <palves@redhat.com> * elfread.c (elf_gnu_ifunc_record_cache): Check if the symbol name ends in "@plt" instead of looking at the symbol's section.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions