* elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.
authorAlan Modra <amodra@gmail.com>
Tue, 4 Nov 2003 23:52:58 +0000 (23:52 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 4 Nov 2003 23:52:58 +0000 (23:52 +0000)
commit4fc8051d3326910a44e4bebe5a2c3e788c8a71cf
treed9efb428e580109241ec2c9f7e4d2c7082836470
parent4b83d615119c447dce017891fbb633e12fe9fd6c
* elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.
(elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on
weakdefs.
(elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS.
(elf32_hppa_adjust_dynamic_symbol): Likewise.  Copy weakdef
NON_GOT_REF.
(allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and
SYMBOL_CALLS_LOCAL.  Discard relocs for undef weak syms with
non-default visibility.
(elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and
SYMBOL_CALLS_LOCAL.
bfd/ChangeLog
bfd/elf32-hppa.c