This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48086] bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 13 Mar 2011 20:33:17 +0000
- Subject: [Bug lto/48086] bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10
- Auto-submitted: auto-generated
- References: <bug-48086-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48086
--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-13 20:32:56 UTC ---
(In reply to comment #11)
> (In reply to comment #10)
> > The easiest way to fix this is maybe to just have more than one GNU_LTO
> > segment. AFAIU the limit of 255 sections is a limit per segment. It is not
> > difficult to have multiple GNU_LTO segments, I could even hack that in before
> > GCC 4.6.
hmmm. maybe not .. re-reading:
n_sect
An integer specifying the number of the section that this symbol can be found
in, or NO_SECT if the
symbol is not to be found in any section of this image. The sections are
contiguously numbered across
segments, starting from 1, according to the order they appear in the LC_SEGMENT
load commands.
contiguously numbered across segments; seems to indicate that the section count
is per file - not per segment.