RFH/RFC: ld generating incorrect Elf DT_RELSZ...

David Daney ddaney@avtrex.com
Mon May 23 20:01:00 GMT 2005


Daniel Jacobowitz wrote:
> On Fri, May 20, 2005 at 03:35:20PM -0700, David Daney wrote:
> 
>>Just to save me a little time, could you tell me which files or 
>>functions (presumably in bfd)  do this?
> 
> 
> Everything should be in elfxx-mips.c.  You can find easily where it
> sets DT_RELSZ; that's late in the process.  Then see how we count up
> that variable.
> 
Thanks,

The problem is that dynamic relocations for the non-primary gots are 
being added after DT_RELSZ is calculated.

I am working on a patch.

David Daney.



More information about the Binutils mailing list