Skip to content

Linker script cleanup patches for score

Tim Abbott lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3score: Make PAGE_SIZE available to assembly.arch/score/include/asm/page.h+2 -11 reply
2/3Make THREAD_SIZE available to assembly files.arch/score/include/asm/thread_info.h+9 -61 reply
3/3score: Cleanup linker script using new macros.arch/score/kernel/vmlinux.lds.S+7 -681 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSam Ravnborg
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)