diff options
author | Cary Coutant <ccoutant@google.com> | 2011-09-26 23:00:17 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2011-09-26 23:00:17 +0000 |
commit | 235061c2f42cd86207e5a4e624f4d44ed49a0803 (patch) | |
tree | f40a09754cb8bde44dd54d57d02891593f397338 /include/hp-symtab.h | |
parent | e91d10767a42a2267f52b69ddb5bca1fdc44f385 (diff) | |
download | fsf-binutils-gdb-235061c2f42cd86207e5a4e624f4d44ed49a0803.zip fsf-binutils-gdb-235061c2f42cd86207e5a4e624f4d44ed49a0803.tar.gz fsf-binutils-gdb-235061c2f42cd86207e5a4e624f4d44ed49a0803.tar.bz2 |
include/ChangeLog
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/ChangeLog
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 'include/hp-symtab.h')
0 files changed, 0 insertions, 0 deletions