bfd/
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Feb 2007 14:15:52 +0000 (14:15 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Feb 2007 14:15:52 +0000 (14:15 +0000)
commitfab4a87f1bd9ec148d24bdaca9faf0f6bded94aa
treece747bd2c90f481a27b2d8a487ff00b5372cd9f7
parentb279a55c19a2826fa8b5b08ec13e8df13ff5b9f5
bfd/

2007-02-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3953
* elflink.c (_bfd_elf_add_default_symbol): Check warning symbol
when adding default symbol.

ld/testsuite/

2007-02-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3953
* ld-elf/beginwarn.c: New file.
* ld-elf/warn.out: Likewise.

* ld-elf/shared.exp (build_tests): Add "Build warn libbar.so".
(run_tests): Add "Run warn with versioned libfoo.so".

* lib/ld-lib.exp (default_ld_relocate): Make exec_output global
and remove target first.
(default_ld_link): Likewise.
(default_ld_simple_link): Likewise.
(run_ld_link_exec_tests): Take an optional linker warning and
check it.
(default_ld_link): Check pruned linker output.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/beginwarn.c [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp
ld/testsuite/ld-elf/warn.out [new file with mode: 0644]
ld/testsuite/lib/ld-lib.exp