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] |
This patch fixes PR gold/13245, where a symbol is reported as PREVAILING_DEF instead of PREVAILING_DEF_IRONLY_EXP when it is referenced from a shared object, but not from any non-IR .o files. Tested on x86_64. OK? -cary 2011-10-17 Cary Coutant <ccoutant@google.com> PR gold/13245 * gold/plugin.cc (is_visible_from_outside): Check for symbols referenced from dynamic objects. * gold/resolve.cc (Symbol_table::resolve): Don't count references from dynamic objects as references from real ELF files. * testsuite/plugin_test_2.sh: Adjust expected result.
Attachment:
gold-plugin-pr13245-patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |