On Wed, Sep 05, 2007 at 02:43:21PM +0100, Denys Vlasenko wrote:
> Build system: section garbage collection for vmlinux
>
> Newer gcc and binutils can do dead code and data removal
> at link time. It is achieved using combination of
> -ffunction-sections -fdata-sections options for gcc and
> --gc-sections for ld.
>...
In the long term I'd like us to be able to compile the whole (or at
least most of) the kernel with one "-combine -fwhole-program" gcc call
which should bring the same positive effect plus enables gcc to do
additional optimizations.
That's meant as a remark, not against your patch (which is for a lower
hanging fruit).
> vda
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]