bfd/
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 5 May 2003 05:46:53 +0000 (05:46 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 5 May 2003 05:46:53 +0000 (05:46 +0000)
commitef5aade5aca46a8f4244c7185fecbadbc32e50fa
treece0667846200306b0d014e816dd21bd8f6a6aaab
parent839efa267fa3c2517d3f5072102a03415f7bad5a
bfd/

2003-05-04  H.J. Lu <hjl@gnu.org>

* elf32-i386.c (allocate_dynrelocs): Don't allocate dynamic
relocation entries for weak undefined symbols with non-default
visibility.
(elf_i386_relocate_section): Initialize the GOT entries and
skip R_386_32/R_386_PC32 for weak undefined symbols with
non-default visibility.

* elfxx-ia64.c (allocate_fptr): Don't allocate function
descriptors for weak undefined symbols with non-default
visibility.
(allocate_dynrel_entries): Don't allocate relocation entries
for symbols resolved to 0.
(set_got_entry): Don't install dynamic relocation for weak
undefined symbols with non-default visibility.
(set_pltoff_entry): Likewise.

* elflink.h (elf_fix_symbol_flags): Hide weak undefined symbols
with non-default visibility.
(elf_link_output_extsym): Don't make weak undefined symbols
with non-default visibility dynamic.

ld/testsuite/

2003-05-04  H.J. Lu <hjl@gnu.org>

* ld-elfvsb/main.c: Updated.
* ld-elfvsb/sh1.c: Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elflink.h
bfd/elfxx-ia64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elfvsb/main.c
ld/testsuite/ld-elfvsb/sh1.c