[PATCH 0/3] Linker script cleanup patches for score

From: Tim Abbott
Date: Sun Sep 20 2009 - 13:36:35 EST


This patch series cleans up the linker script for the score
architecture to use the new linker script macros merged in 2.6.31.
I'd love to see these included in 2.6.32 (Sorry that these are coming
so late -- I had missed the score architecture being merged.)

While the changes are pretty straightforward, note that these patches
haven't been tested at all (I don't have an appropriate cross
compiler).

This cross-architecture linker script cleanup project is in
preparation for adding support for building the kernel with
-ffunction-sections -fdata-sections, which is a prerequisite for
Ksplice.

-Tim Abbott

Tim Abbott (3):
score: Make PAGE_SIZE available to assembly.
Make THREAD_SIZE available to assembly files.
score: Cleanup linker script using new macros.

arch/score/include/asm/page.h | 3 +-
arch/score/include/asm/thread_info.h | 15 ++++---
arch/score/kernel/vmlinux.lds.S | 75 +++------------------------------
3 files changed, 18 insertions(+), 75 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/