]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/ldlang.c
PR30343 infrastructure
authorAlan Modra <amodra@gmail.com>
Wed, 19 Apr 2023 04:51:15 +0000 (14:21 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 19 Apr 2023 23:33:53 +0000 (09:03 +0930)
commit2605f35cda6ec0710ad87e14912dd4ee537e674e
treef08fe08ae38e89a1597a7b38a60447fc710a4c2c
parent329dd2b6fcad4b3f1c4b0d443381f7c68ef18a9f
PR30343 infrastructure

Make ldemul_before_plugin_all_symbols_read more useful.

* ldlang.c (lang_process): Move call to
ldemul_before_plugin_all_symbols_read outside BFD_SUPPORTS_PLUGINS.
Allow backends to add to gc_sym_list before handling entry sym.
* ldelf.c (ldelf_before_plugin_all_symbols_read): Test
lto_plugin_active.
ld/ldelf.c
ld/ldlang.c