]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2010-06-21 Rafael Espindola <espindola@google.com>
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jun 2010 21:14:46 +0000 (21:14 +0000)
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jun 2010 21:14:46 +0000 (21:14 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161116 138bc75d-0d04-0410-961f-82ee72b054a4

include/ChangeLog
include/plugin-api.h

index cf5a944c1f16eeacebc7725d5e602625d26193be..a9fb359cd3d334ab03edb61e54bb2c8bea8e4f48 100644 (file)
@@ -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.
index 55cfe257890835975028596d83c639dd4f8ff74f..a0cf5f4583defae6a70ea38808a50aa4675224d0 100644 (file)
@@ -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;
 };