This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src gold/ChangeLog gold/plugin.cc gold/plugin. ...
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 25 Oct 2011 02:43:15 -0000
- Subject: src gold/ChangeLog gold/plugin.cc gold/plugin. ...
CVSROOT: /cvs/src
Module name: src
Branch: binutils-2_22-branch
Changes by: amodra@sourceware.org 2011-10-25 02:43:15
Modified files:
gold : ChangeLog plugin.cc plugin.h
gold/testsuite : plugin_test.c plugin_test_3.sh
include : ChangeLog plugin-api.h
Log message:
include/
2011-09-26 Cary Coutant <ccoutant@google.com>
gcc PR lto/47247
* plugin-api.h (enum ld_plugin_symbol_resolution): Add
LDPR_PREVAILING_DEF_IRONLY_EXP.
(enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2.
gold/
2011-09-26 Cary Coutant <ccoutant@google.com>
gcc PR lto/47247
* plugin.cc (get_symbols_v2): New function.
(Plugin::load): Add LDPT_GET_SYMBOLS_V2.
(is_referenced_from_outside): New function.
(Pluginobj::get_symbol_resolution_info): Add version parameter, return
LDPR_PREVAILING_DEF_IRONLY_EXP when using new version.
(get_symbols): Pass version parameter.
(get_symbols_v2): New function.
* plugin.h (Pluginobj::get_symbol_resolution_info): Add version
parameter.
* testsuite/plugin_test.c (get_symbols_v2): New static variable.
(onload): Add LDPT_GET_SYMBOLS_V2.
(all_symbols_read_hook): Use get_symbols_v2; check for
LDPR_PREVAILING_DEF_IRONLY_EXP.
* testsuite/plugin_test_3.sh: Update expected results.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.824.2.2&r2=1.824.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/plugin.cc.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.48&r2=1.48.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/plugin.h.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.21&r2=1.21.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/plugin_test.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5&r2=1.5.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/testsuite/plugin_test_3.sh.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.2&r2=1.2.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.549&r2=1.549.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/plugin-api.h.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.15&r2=1.15.2.1