This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Preserving order of functions and top-level asms via cgraph
On Sun, Apr 10, 2005 at 10:52:22PM -0400, Daniel Jacobowitz wrote:
> On Mon, Apr 11, 2005 at 04:49:05AM +0200, Marcin Dalecki wrote:
> > newlib/libgloss and other low level candidates like u-boot extensive
> > boot loader all appear to be clean. The linux kernel is just confused.
> > The Glibc turns out to be just plain sick. As always if you dare
> > to take a closer look at it...
>
> I'm quite familiar with it, thanks. You might want to take a better
> look at it, though, if you think that it can be replaced by
> __attribute__((section(".init"))). It's splitting up functions, in the
> same way that GCC's crtstuff.c does, and for the same reasons.
To be more precise: that's what the initfini bits are about; my "not
sure why" comment was for errlist/siglist.
--
Daniel Jacobowitz
CodeSourcery, LLC