This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] pe/coff: handle weak defined symbol for gc-sections.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 07 Apr 2017 04:12:30 -0400
- Subject: [binutils-gdb] pe/coff: handle weak defined symbol for gc-sections.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 1fd6d111905e76dfa7af9fbee5229f3f1d360b4c ***
Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: 1fd6d111905e76dfa7af9fbee5229f3f1d360b4c
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.