Hi Michal, I ended up deciding to do a v3, because I had several changes accumulated, as described in patches. I've also left off the powerpc arch patches -- they can be found in previous posts, for reference. I've again tested ARM and it seems to be building okay and without performance regression with my configurations. I think it's going to be a matter of some toolchain options for them to go through. arm64, x86, powerpc, and arm for me all built fine with thin archives and --gc-sections enabled, so I can't see there being a fundamental issue that can't be solved. Worst case, the incremental link option can remain for a time. Thanks, Nick Nicholas Piggin (2): kbuild: allow archs to select link dead code/data elimination kbuild: add arch specific post-link Makefile Stephen Rothwell (1): kbuild: allow architectures to use thin archives instead of ld -r Documentation/kbuild/makefiles.txt | 16 +++++++++ Makefile | 19 ++++++++-- arch/Kconfig | 26 ++++++++++++++ include/asm-generic/vmlinux.lds.h | 52 ++++++++++++++++------------ include/linux/compiler.h | 23 ++++++++++++ include/linux/export.h | 30 ++++++++-------- include/linux/init.h | 38 +++++++------------- init/Makefile | 2 ++ scripts/Makefile.build | 23 +++++++++--- scripts/Makefile.modpost | 14 +++++--- scripts/link-vmlinux.sh | 71 ++++++++++++++++++++++++++++++++------ 11 files changed, 228 insertions(+), 86 deletions(-) -- 2.8.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html