diff options
author | Alan Modra <amodra@gmail.com> | 2016-08-19 11:06:53 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-08-19 11:06:53 +0930 |
commit | d311bc8bf85f8358df21301fe8a357aa1212f80c (patch) | |
tree | f588003f96a1c10700bec9c4e59e9631b7d82185 /ld/emultempl/linux.em | |
parent | 8a2058b5e3318a337a6fecd61b91349d1131758e (diff) | |
download | gdb-d311bc8bf85f8358df21301fe8a357aa1212f80c.zip gdb-d311bc8bf85f8358df21301fe8a357aa1212f80c.tar.gz gdb-d311bc8bf85f8358df21301fe8a357aa1212f80c.tar.bz2 |
PowerPC64, Don't copy weak symbol dyn_relocs to weakdef.
At the cost of an extra field in the symbol table hash entries, this
simplification to the relocate_section dynamic reloc test should help
maintainability.
* elf64-ppc.c (struct ppc_link_hash_entry): Add weakref.
(ppc64_elf_copy_indirect_symbol): Set weakref. Don't merge
dyn_relocs for weakdefs.
(alias_readonly_dynrelocs): New function.
(ppc64_elf_adjust_dynamic_symbol): Use alias_readonly_dynrelocs.
(ppc64_elf_relocate_section): Simplify condition under which
dyn_relocs are emitted.
Diffstat (limited to 'ld/emultempl/linux.em')
0 files changed, 0 insertions, 0 deletions