This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Interesting issue
- To: Ian Lance Taylor <ian at zembu dot com>
- Subject: Re: Interesting issue
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 15 Oct 1999 14:28:56 -0600
- cc: binutils at sourceware dot cygnus dot com
- Reply-To: law at cygnus dot com
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