bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/204] Count section symbols incorrectly


From: zhangjie at magima dot com dot cn
Subject: [Bug ld/204] Count section symbols incorrectly
Date: 4 Jun 2004 07:21:47 -0000

------- Additional Comments From zhangjie at magima dot com dot cn  2004-06-04 
07:21 -------
Created an attachment (id=104)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=104&action=view)
Initial trial to fix this bug

This is an initial effort trial to fix this bug.

The patch in http://sources.redhat.com/ml/binutils/2004-05/msg00143.html
changed the count of output section symbols that would enter the .dynsym
section. But it did not modify _bfd_mips_elf_final_link () accordingly.

This is an initial effort trying to fix it. There are two methods can be used
to
fix it. One is to record the number of output section symbols that will enter
the .dynsym in a new field in struct elf_link_hash_table as this patch does,
the other is to count the number when it is needed. I think the former is
better.

I don't know if there are other targets than MIPS need to be patched.


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=204

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]