aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/pe.exp
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2017-03-31 15:25:18 +0200
committerTristan Gingold <gingold@adacore.com>2017-04-07 10:03:17 +0200
commit1fd6d111905e76dfa7af9fbee5229f3f1d360b4c (patch)
treecb8f9e966484f2911a9ef1f3d0df62d338701922 /ld/testsuite/ld-pe/pe.exp
parent436252de3e9de546001c4312d0863ce7e10aa200 (diff)
downloadgdb-1fd6d111905e76dfa7af9fbee5229f3f1d360b4c.zip
gdb-1fd6d111905e76dfa7af9fbee5229f3f1d360b4c.tar.gz
gdb-1fd6d111905e76dfa7af9fbee5229f3f1d360b4c.tar.bz2
pe/coff: handle weak defined symbol for gc-sections.
bfd/ * coffgen.c (_bfd_coff_gc_mark_hook): Handle PE weak external symbols with a definition. (_bfd_coff_gc_mark_extra_sections): Fix typo. ld/ * testsuite/ld-pe/pe.exp: New test. * testsuite/ld-pe/weakdef-1.s: New test source. * testsuite/ld-pe/weakdef-1.d: New test.
Diffstat (limited to 'ld/testsuite/ld-pe/pe.exp')
-rw-r--r--ld/testsuite/ld-pe/pe.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/pe.exp b/ld/testsuite/ld-pe/pe.exp
index 8d20056..b69f36a 100644
--- a/ld/testsuite/ld-pe/pe.exp
+++ b/ld/testsuite/ld-pe/pe.exp
@@ -76,6 +76,8 @@ run_dump_test "longsecn-5"
run_dump_test "orphan"
run_dump_test "orphan_nu"
+run_dump_test "weakdef-1"
+
run_dump_test "pr19803"
set pr19803_dll {
{ "PR 19803: not exporting swept symbols"