------- Additional Comments From timb at bluearc dot com 2008-01-09 12:26 ------- gcc's naming is quite reasonable: the names of section groups (and the sections in them) clash because the corresponding symbol names do. We are deliberately using partial linking and localization of symbols in order to violate the one definition rule. The section groups emitted by newer versions of gcc threw a spanner in the works because although we could make the symbols local we couldn't hide the section groups. The old-style linkonce sections could just be folded into the desired output sections, whereas ld was stubbornly refusing to let us have any say in what it does with grouped sections.
The option added by my patch doesn't break section groups apart, it eliminates them in just the same way as a final link normally does. It's certainly crude, but it does what we need it to, and is about the best we could manage with our limited knowledge of ld internals. It may be useful for people doing something similar, but not for anyone wanting finer control over section groups. -- http://sourceware.org/bugzilla/show_bug.cgi?id=5323 ------- 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