This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: objcopy - redefine dynamic symbols
Nick Clifton wrote:
> [...]
> Hmm, maybe you need to call some of the ELF backend functions like
> elf_backend_finish_dynamic_symbol or elf_backend_finish_dynamic_section
> or elf_backend_adjust_dynamic_symbol or even
> elf_backend_size_dynamic_section. These are all defined in
> bfd/elf-bfd.h although their implementations may be target specific.
thanks for the hint - but all these functions seem to handle "link"
information, where should I get this from!? Sorry, but I am still not so
familiar with this monster called "libbfd" :-(
Meanwhile I made a different approach, with creating new ".dynsym" /
".dynstr" section contents and since friday I got that working, that
means I now can rename dynamic symbols!
If someone is interested in the patch, I can post it here on the list.
The next step will be fixing up (re-creating) the hash table in the
".hash" section, which has been broken by the rename...
Thomas