summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2010-06-21 21:14:46 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2010-06-21 21:14:46 +0000
commitc8259dd92ee1b0ac6b7e96509ee49abcf123f630 (patch)
tree4d1b9957c5e85ab36c7a38d07f0e4cef180549d5 /include
parentcd7fe53b723e8f24dc2efc21bc68a2ac174ee882 (diff)
downloadgcc-c8259dd92ee1b0ac6b7e96509ee49abcf123f630.tar.gz
plugin-api.h (ld_plugin_set_extra_library_path): New.
2010-06-21 Rafael Espindola <espindola@google.com> * plugin-api.h (ld_plugin_set_extra_library_path): New. (ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH. (ld_plugin_tv): Add tv_set_extra_library_path. From-SVN: r161116
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/plugin-api.h10
2 files changed, 15 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index cf5a944c1f1..a9fb359cd3d 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-21 Rafael Espindola <espindola@google.com>
+
+ * plugin-api.h (ld_plugin_set_extra_library_path): New.
+ (ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH.
+ (ld_plugin_tv): Add tv_set_extra_library_path.
+
2010-06-21 Jakub Jelinek <jakub@redhat.com>
* dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
diff --git a/include/plugin-api.h b/include/plugin-api.h
index 55cfe257890..a0cf5f4583d 100644
--- a/include/plugin-api.h
+++ b/include/plugin-api.h
@@ -228,6 +228,12 @@ typedef
enum ld_plugin_status
(*ld_plugin_add_input_library) (const char *libname);
+/* The linker's interface for adding a library path that should be searched. */
+
+typedef
+enum ld_plugin_status
+(*ld_plugin_set_extra_library_path) (const char *path);
+
/* The linker's interface for issuing a warning or error message. */
typedef
@@ -261,7 +267,8 @@ enum ld_plugin_tag
LDPT_GET_INPUT_FILE,
LDPT_RELEASE_INPUT_FILE,
LDPT_ADD_INPUT_LIBRARY,
- LDPT_OUTPUT_NAME
+ LDPT_OUTPUT_NAME,
+ LDPT_SET_EXTRA_LIBRARY_PATH
};
/* The plugin transfer vector. */
@@ -283,6 +290,7 @@ struct ld_plugin_tv
ld_plugin_get_input_file tv_get_input_file;
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;
} tv_u;
};