This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does the LD --wrap feature work for library internal references?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]