OSDN Git Service

bfd/
authorH.J. Lu <hjl@lucon.org>
Wed, 12 Jul 2006 15:45:32 +0000 (15:45 +0000)
committerH.J. Lu <hjl@lucon.org>
Wed, 12 Jul 2006 15:45:32 +0000 (15:45 +0000)
commit2de85b0866d83cda758fbb1d43d78028e520ab17
treede39c43d21d63356f07c3ae232e3d17e8b6c5e4e
parent19f7361279c278aa5f6ee52dc03520c7ec96dc36
bfd/

2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2884
* elflink.c (_bfd_elf_merge_symbol): Copy the symbol info from
the old versioned dynamic definition to the new one with
non-default visibility.  Hide the symbol if it is hidden or
internal.

ld/testsuite/

2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2884
* ld-elf/begin.c: New file.
* ld-elf/end.c: Likewise.
* ld-elf/endhidden.c: Likewise.
* ld-elf/endprotected.c: Likewise.
* ld-elf/foo.c: Likewise.
* ld-elf/foo.map: Likewise.
* ld-elf/hidden.out: Likewise.
* ld-elf/main.c: Likewise.
* ld-elf/normal.out: Likewise.
* ld-elf/shared.exp: Likewise.

* lib/ld-lib.exp (run_cc_link_tests): New.
bfd/ChangeLog
bfd/elflink.c