* elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic reloc
authorAlan Modra <amodra@gmail.com>
Wed, 19 Feb 2003 14:14:16 +0000 (14:14 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 19 Feb 2003 14:14:16 +0000 (14:14 +0000)
commit26e415943a5d0dd3577345b8141eff3a0276d93e
tree24d90e9f717c2cc83bc6ac74252b2a769b0c00bb
parentf4656909e90fc9b95df9f08dfda66169befcc8fe
* elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic reloc
removal.  Localize vars.  Remove unnecessary dynobj test.
* elf32-i386 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead
of INFO.
(allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses,
and optimize.
(elf_i386_relocate_section): Likewise.
(elf_i386_gc_sweep_hook): Simplify dyn reloc removal.  Localize vars.
* elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
* elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise.  Remove
local_dynrel for section too.  Don't touch HIPLT22, LOPLT10, PCPLT32
or PCPLT10 relocs.  Don't subtract twice on PLT32 relocs.
Formatting.
bfd/ChangeLog
bfd/elf32-hppa.c
bfd/elf32-i386.c
bfd/elf32-s390.c
bfd/elf32-sh.c
bfd/elf32-sparc.c
bfd/elf64-s390.c
bfd/elf64-x86-64.c