diff options
author | Alan Modra <amodra@gmail.com> | 2011-10-25 02:43:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-10-25 02:43:15 +0000 |
commit | 7f1bd9405aeffb51318dbf47976ceb1db783a560 (patch) | |
tree | cc85a501078b21eddc8bce9a41c8ddd191cd35ba /cpu | |
parent | f6acfa53416dab2201f37db0cb6d99bdcb1afead (diff) | |
download | gdb-7f1bd9405aeffb51318dbf47976ceb1db783a560.zip gdb-7f1bd9405aeffb51318dbf47976ceb1db783a560.tar.gz gdb-7f1bd9405aeffb51318dbf47976ceb1db783a560.tar.bz2 |
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.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions