diff options
author | Dave Korn <dave.korn@artimi.com> | 2011-03-10 10:25:02 +0000 |
---|---|---|
committer | Dave Korn <dave.korn@artimi.com> | 2011-03-10 10:25:02 +0000 |
commit | 8543fde54aeb0a961400b8d0d14b89dcc7708a2f (patch) | |
tree | e405c3cfbdd9e595c0a59a505312fc5a63d2fbdd /ld/ChangeLog | |
parent | 8f7e76d0246964e28c57fcbbab65686efb8c10f8 (diff) | |
download | gdb-8543fde54aeb0a961400b8d0d14b89dcc7708a2f.zip gdb-8543fde54aeb0a961400b8d0d14b89dcc7708a2f.tar.gz gdb-8543fde54aeb0a961400b8d0d14b89dcc7708a2f.tar.bz2 |
[PATCH] Revise linker plugin API to better preserve link order.
ld/ChangeLog:
2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
* ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
* ldmain.c (add_archive_element): Set it if the member is claimed.
* ldlang.c (new_afile): Initialise claim_archive and claimed members.
(find_replacements_insert_point): New helper function.
(lang_process): After adding and opening replacement files passed
from plugin, splice them into correct place in statement list and
file chains to preserve critical link order.
(lang_list_insert_after): New helper function.
(lang_list_remove_tail): Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 0fdbd41..07dbcee 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,18 @@ 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> + * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, + wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. + * ldmain.c (add_archive_element): Set it if the member is claimed. + * ldlang.c (new_afile): Initialise claim_archive and claimed members. + (find_replacements_insert_point): New helper function. + (lang_process): After adding and opening replacement files passed + from plugin, splice them into correct place in statement list and + file chains to preserve critical link order. + (lang_list_insert_after): New helper function. + (lang_list_remove_tail): Likewise. + +2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> + * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. (IRONLY_SUFFIX_LEN): Delete. (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. |