--- 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 ord
--- Additional Comments From nickc at redhat dot com 2008-01-09 11:15
---
Hi Tim,
I think that you are taking the wrong approach. Either the compiler should
not be generating a group to contain the out-of-line function (if it just
contains a single section) or else you should accept
--- Additional Comments From timb at bluearc dot com 2008-01-07 11:04
---
Created an attachment (id=2175)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2175&action=view)
Add --discard-section-groups option to ld
The obvious change to unique_section_p didn't quite seem to be eno
--- Additional Comments From amodra at bigpond dot net dot au 2007-11-15
03:46 ---
There is no ld option to do what you want. You would need to modify ldlang.c
unique_section_p.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5323
--- You are receiving this mail because:
--- Additional Comments From timb at bluearc dot com 2007-11-14 15:50
---
But we do want those sections merged. How do we stop them being passed through
unscathed? I can't find any option to control that.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5323
--- You are receivi
--- Additional Comments From amodra at bigpond dot net dot au 2007-11-14
15:33 ---
This is done deliberately so that groups pass unscathed through ld -r.
Otherwise you'd get .text in group foo being merged with .text in group bar and
with the non-group .text.
--
What|R
--
What|Removed |Added
CC||andyc at bluearc dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5323
--- You are receiving this m
--- Additional Comments From timb at bluearc dot com 2007-11-14 14:46
---
Created an attachment (id=2088)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2088&action=view)
Test case
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5323
--- You are receiving this mail be