OSDN Git Service

bfd/
authorH.J. Lu <hjl@lucon.org>
Mon, 5 May 2003 05:46:53 +0000 (05:46 +0000)
committerH.J. Lu <hjl@lucon.org>
Mon, 5 May 2003 05:46:53 +0000 (05:46 +0000)
commitafcef526f1d368177631fede8190440430fba71d
tree74d5619b7343f8b0134f4a5e30fc2034f5dd7cac
parent620f8b78cd55e358740e1e1736c3a2866a1262d5
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