From 55406e102f644f624c170133a678f42478b7feac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Wed, 23 Mar 2011 14:09:48 +0000 Subject: [PATCH] =?utf8?q?2010-03-23=20=20Rafael=20=C3=81vila=20de=20Esp?= =?utf8?q?=C3=ADndola=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * plugin-api.h (ld_plugin_get_view): New. (ld_plugin_tag): Add LDPT_GET_VIEW. (ld_plugin_tv): Add tv_get_view. --- include/ChangeLog | 6 ++++++ include/plugin-api.h | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index 4f65257e8f9..863d6f39ef5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2010-03-23 Rafael Ávila de Espíndola + + * plugin-api.h (ld_plugin_get_view): New. + (ld_plugin_tag): Add LDPT_GET_VIEW. + (ld_plugin_tv): Add tv_get_view. + 2011-03-16 Jakub Jelinek * dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter, diff --git a/include/plugin-api.h b/include/plugin-api.h index 956df001a1f..7450a9e3838 100644 --- a/include/plugin-api.h +++ b/include/plugin-api.h @@ -203,6 +203,10 @@ enum ld_plugin_status (*ld_plugin_get_input_file) (const void *handle, struct ld_plugin_input_file *file); +typedef +enum ld_plugin_status +(*ld_plugin_get_view) (const void *handle, const void **viewp); + /* The linker's interface for releasing the input file. */ typedef @@ -269,7 +273,8 @@ enum ld_plugin_tag LDPT_ADD_INPUT_LIBRARY, LDPT_OUTPUT_NAME, LDPT_SET_EXTRA_LIBRARY_PATH, - LDPT_GNU_LD_VERSION + LDPT_GNU_LD_VERSION, + LDPT_GET_VIEW }; /* The plugin transfer vector. */ @@ -289,6 +294,7 @@ struct ld_plugin_tv ld_plugin_add_input_file tv_add_input_file; ld_plugin_message tv_message; ld_plugin_get_input_file tv_get_input_file; + ld_plugin_get_view tv_get_view; ld_plugin_release_input_file tv_release_input_file; ld_plugin_add_input_library tv_add_input_library; ld_plugin_set_extra_library_path tv_set_extra_library_path; -- 2.30.2