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