bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/6430] --sort-common Not Implemented Per Documentation


From: hjl dot tools at gmail dot com
Subject: [Bug ld/6430] --sort-common Not Implemented Per Documentation
Date: 21 Apr 2008 21:20:16 -0000

------- 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.




reply via email to

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