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

Denys Vlasenko
2007-09-05T13:47:24Z

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

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 #2: linux-2.6.23-rc4.0.fixname.sh --]
[-- Type: application/x-shellscript, Size: 2996 bytes --]

[-- Attachment #3: linux-2.6.23-rc4.1.fixname.patch.bz2 --]
[-- Type: application/x-bzip2, Size: 13841 bytes --]