diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-01-02 19:29:38 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-01-02 19:29:38 +0000 |
commit | 54ac0771d70dc2db461671bb5e1cd00852278de9 (patch) | |
tree | f42c1523fa7eca4e044306ceca32c80f193377d0 /ld/testsuite/ld-elf/shared.exp | |
parent | d88805311b781c162446afb8d31c2bb854b024cc (diff) | |
download | gdb-54ac0771d70dc2db461671bb5e1cd00852278de9.zip gdb-54ac0771d70dc2db461671bb5e1cd00852278de9.tar.gz gdb-54ac0771d70dc2db461671bb5e1cd00852278de9.tar.bz2 |
bfd/
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9679
* elflink.c (elf_merge_st_other): New.
(_bfd_elf_merge_symbol): Use it on skipped weak definitions and
hide them if needed.
(elf_link_add_object_symbols): Updated.
ld/testsuite/
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9679
* ld-elf/pr9679-1.c: New.
* ld-elf/pr9679-2.c: Likewise.
* ld-elf/pr9679.rd: Likewise.
* ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
Diffstat (limited to 'ld/testsuite/ld-elf/shared.exp')
-rw-r--r-- | ld/testsuite/ld-elf/shared.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index ff8bc8f..4f45bdd 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -145,6 +145,9 @@ set build_tests { "-shared tmpdir/pr9676-4.o -Ltmpdir -lpr9676-3 -Wl,--start-group -lpr9676-1 -lpr9676-2 -Wl,--end-group" "-fPIC" {dummy.c} {{readelf {-s} pr9676.rd}} "libpr9676-4a.so"} + {"Build libpr9679.so" + "-shared" "-fPIC -O0" + {pr9679-1.c pr9679-2.c} {{readelf {-s} pr9679.rd}} "libpr9679.so"} } set run_tests { |