Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ChangeLog12
-rw-r--r--include/bfdlink.h6
-rw-r--r--include/plugin-api.h3
3 files changed, 18 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 724d0278b..eba9cc3d3 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,15 @@
+2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ Apply LD plugin patch series (part 6/6).
+ * bfdlink.h (struct_bfd_link_callbacks): Document new argument
+ to add_archive_element callback used to return a replacement bfd which
+ is to be added to the hash table in place of the original element.
+
+2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ Apply LD plugin patch series (part 1/6).
+ * plugin-api.h (LDPT_GNU_LD_VERSION): New ld_plugin_tag enum member.
+
2010-10-06 Andi Kleen <ak@linux.intel.com>
* libiberty.h (setproctitle): Add prototype.
diff --git a/include/bfdlink.h b/include/bfdlink.h
index af3c5c4f5..0d6e9f8ae 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -481,9 +481,11 @@ struct bfd_link_callbacks
/* A function which is called when an object is added from an
archive. ABFD is the archive element being added. NAME is the
name of the symbol which caused the archive element to be pulled
- in. */
+ in. This function may set *SUBSBFD to point to an alternative
+ BFD from which symbols should in fact be added in place of the
+ original BFD's symbols. */
bfd_boolean (*add_archive_element)
- (struct bfd_link_info *, bfd *abfd, const char *name);
+ (struct bfd_link_info *, bfd *abfd, const char *name, bfd **subsbfd);
/* A function which is called when a symbol is found with multiple
definitions. NAME is the symbol which is defined multiple times.
OBFD is the old BFD, OSEC is the old section, OVAL is the old
diff --git a/include/plugin-api.h b/include/plugin-api.h
index a0cf5f458..9d58fef40 100644
--- a/include/plugin-api.h
+++ b/include/plugin-api.h
@@ -268,7 +268,8 @@ enum ld_plugin_tag
LDPT_RELEASE_INPUT_FILE,
LDPT_ADD_INPUT_LIBRARY,
LDPT_OUTPUT_NAME,
- LDPT_SET_EXTRA_LIBRARY_PATH
+ LDPT_SET_EXTRA_LIBRARY_PATH,
+ LDPT_GNU_LD_VERSION
};
/* The plugin transfer vector. */