Getting rid of -fno-unit-at-a-time [Was Re: RFC: Preserving order of functions and top-level asms via cgraph]
Daniel Jacobowitz
drow@false.org
Tue Apr 12 18:34:00 GMT 2005
On Tue, Apr 12, 2005 at 06:34:29PM +0200, Andi Kleen wrote:
> Daniel Jacobowitz <drow@false.org> writes:
>
> > On Mon, Apr 11, 2005 at 10:02:06AM -0700, Daniel Kegel wrote:
> >> BTW, I hope -fno-unit-at-a-time doesn't go away until at least gcc-4.1.1
> >> or so... I still lean on that crutch.
> >
> > A user! Can you explain why?
>
> The x86-64 2.4 linux kernel uses it too, because some code relies on
> the ordering between asm and several functions.
> Other Linux ports might be similarly affected. 2.6 is fixed, but the
> fix is a bit too big to merge into a stable-nearly-dead tree like 2.4.
Thanks. I was under the impression that 2.4 doesn't build with GCC
HEAD, anyway - I saw some patches pile up and not get applied.
Does 2.6 still use the option?
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gcc
mailing list