Interesting issue

Jeffrey A Law law@cygnus.com
Fri Oct 15 13:39:00 GMT 1999


  In message < 19991015194029.9107.qmail@daffy.airs.com >you write:
  > Yes, use the check_relocs routine.  Take a look at
  > elf_i386_check_relocs, or other check_relocs routines; you'll see that
  > they happily add various dynamic sections as required by the
  > relocation entries.  Have it call
  >     bfd_elf32_link_create_dynamic_sections
  > or something along those lines.
Ah yes.  Silly me, I spent time in the check_relocs hook ;I should have
been able to figure that one out.  This should be exactly what I need.
Thanks.


  > I just realized that there is confusion about create_dynamic_sections:
  > functions by that name exist in both elflink.c and elflink.h.  I'm not
  > sure how that happened.
Joys :(

jeff



More information about the Binutils mailing list