------- Additional Comments From hjl dot tools at gmail dot com  2008-04-21 
21:20 -------
Linker manual says

`--sort-common'
     This option tells `ld' to sort the common symbols by size when it
     places them in the appropriate output sections.  First come all
     the one byte symbols, then all the two byte, then all the four
     byte, and then everything else.  This is to prevent gaps between
     symbols due to alignment constraints.

To prevent gaps between common symbols with different alignments,
shouldn't we sort common symbols by their sizes in descending order,
assuming small sizes need small alignments?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6430

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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to