diff options
author | Alan Modra <amodra@gmail.com> | 2022-01-19 09:35:00 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-01-19 09:44:15 +1030 |
commit | 858b0eff3c79fa6217ebf4491e146be23552764d (patch) | |
tree | c416582a0a0d282709b3d8d9dc6feec90972c68e /gdb/p-lang.c | |
parent | 72a52f2a86f33434a511da11fae0471253df068d (diff) | |
download | binutils-858b0eff3c79fa6217ebf4491e146be23552764d.zip binutils-858b0eff3c79fa6217ebf4491e146be23552764d.tar.gz binutils-858b0eff3c79fa6217ebf4491e146be23552764d.tar.bz2 |
Re: PowerPC64 DT_RELR
HJ: "There are 238 R_PPC64_NONEs in libc.so.6 alone."
Indeed, let's make them go away. I had the SYMBOL_REFERENCES_LOCAL
test in the wrong place. check_relocs is too early to know whether a
symbol is dynamic in a shared library. Lots of glibc symbols are made
local by version script, but that doesn't happen until
size_dynamic_sections.
* elf64-ppc.c (ppc64_elf_check_relocs): Don't count relative relocs
here depending on SYMBOL_REFERENCES_LOCAL.
(dec_dynrel_count): Likewise.
(allocate_dynrelocs): Do so here instead.
Diffstat (limited to 'gdb/p-lang.c')
0 files changed, 0 insertions, 0 deletions