* elf32-i386.c (allocate_dynrelocs): For undef weak syms with
authorAlan Modra <amodra@gmail.com>
Mon, 5 May 2003 14:12:05 +0000 (14:12 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 5 May 2003 14:12:05 +0000 (14:12 +0000)
commit4e795f50c1c5f7e59a8ab1f127bc5267d81600f1
treec12accdbcf0bc42bfecc1c143f6e035e353817a2
parent1b883d351364d8b9e00021462e06d5dba0d61460
* elf32-i386.c (allocate_dynrelocs): For undef weak syms with
non-default visibility, a) don't make them dynamic, b) discard
space for dynamic relocs.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.

* elf32-ppc.c (allocate_dynrelocs): For undef weak syms with
non-default visibility, a) don't allocate plt entries, b) don't
allocate .got relocs, c) discard dyn rel space,
(ppc_elf_relocate_section): d) don't generate .got relocs, e)
don't generate dynamic relocs.
* elf64-ppc.c (allocate_dynrelocs): As above.
(ppc64_elf_relocate_section): As above.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf32-ppc.c
bfd/elf64-ppc.c
bfd/elf64-x86-64.c