Re: [PATCH] arch/i386/Makefile,scripts/gcc-version.sh,Makefilesmall fixes
From: Andrew Morton
Date: Sat Jan 24 2004 - 13:17:55 EST
Serge Belyshev <33554432@xxxxxxxxxx> wrote:
>
> [This patch is against 2.6.2-rc1-mm2]
Is appreciated, thanks.
> arch/i386/Makefile:
> * omitted $(KBUILD_SRC)/ in script call.
OK
> scripts/gcc-version.sh:
> * GNU tail no longer supports 'tail -1' syntax.
OK.
> Makefile:
> * There is no point in adding -funit-at-a-time option because it is
> enabled by default at levels -Os, -O2 and -O3.
hm. Didn't Andi say that adding -fno-unit-at-a-time caused code shrinkage?
> * Consider adding -fweb option:
What does it do?
> vanilla:
> $ size vmlinux
> text data bss dec hex filename
> 3056270 526780 386056 3969106 3c9052 vmlinux
>
> with -fweb:
> $ size vmlinux
> text data bss dec hex filename
> 3049523 526780 386056 3962359 3c75f7 vmlinux
>
> Also note 0.1 ... 1.0% speedup in various benchmarks.
> This option is not enabled by default at -O2 because it
> (like -fomit-frame-pointer) makes debugging impossible.
OK, then we'd need a config option for it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/