This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gold][patch] Fix common symbol handling in plugins (gcc PR lto/42757)


This patch fixes an issue reported in gcc PR lto/42757, where gold's
plugin manager wasn't returning the proper resolution for common
symbols.

ChangeLog question: how should the PR line read for a gcc bugzilla entry?

-cary

        PR lto/42757 (gcc)
        * plugin.cc (Pluginobj::get_symbol_resolution_info): Check for
        prevailing definitions of common symbols.
        * testsuite/plugin_test_6.sh: New test case.
        * testsuite/plugin_common_test_1.c: New test case.
        * testsuite/plugin_common_test_2.c: New test case.
        * testsuite/Makefile.am (plugin_test_6): New test case.
        * testsuite/Makefile.in: Regenerate.

Attachment: gold-plugin-common-patch-2.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]