[PATCH 1/3] build system: section garbage collection for vmlinux

From: Denys Vlasenko
Date: Wed Sep 05 2007 - 09:47:27 EST


On Wednesday 05 September 2007 14:43, Denys Vlasenko wrote:
> These patches fix section names and add
> CONFIG_DISCARD_UNUSED_SECTIONS. It is not enabled
> unconditionally because only newest binutils have
> ld --gc-sections which is stable enough for kernel use.
> IOW: this is an experimental feature for now.

Part 1: fix section names over entire source (all arches).

Patch is big and boring global s/.text.lock/.text_lock/
type thing.

You can regenerate it using attached
linux-2.6.23-rc4.0.fixname.sh
(e.g. if you need to rebase to later kernel).

--
vda

Attachment: linux-2.6.23-rc4.0.fixname.sh
Description: application/shellscript

Attachment: linux-2.6.23-rc4.1.fixname.patch.bz2
Description: BZip2 compressed data