Does the LD --wrap feature work for library internal references?
Alan Modra
amodra@gmail.com
Fri Jan 25 23:52:00 GMT 2019
On Fri, Jan 25, 2019 at 02:55:35PM +0100, Sebastian Huber wrote:
> @@ -2780,6 +2780,8 @@ extern asection _bfd_elf_large_com_section;
> return FALSE; \
> \
> h = sym_hashes[r_symndx - symtab_hdr->sh_info]; \
Is it possible to arrange for the symbol hashes to be set up to point
to the wrapped symbols? I'm thinking a change to always use
bfd_wrapped_link_hash_lookup in _bfd_generic_link_add_one_symbol might
work.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list