Skip to content

Linker script cleanup patches for m32r

Tim Abbott lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v16 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6m32r: make PAGE_SIZE available to assembly.arch/m32r/include/asm/page.h+3 -10 replies
2/6m32r: Define THREAD_SIZE only once.arch/m32r/include/asm/processor.h arch/m32r/include/asm/thread_info.h+2 -60 replies
3/6m32r: Move GET_THREAD_INFO definition out of asm/thread_info.h.arch/m32r/include/asm/thread_info.h arch/m32r/kernel/entry.S+7 -90 replies
4/6m32r: Remove unused .altinstructions and .exit.* code from linker script.arch/m32r/kernel/vmlinux.lds.S+0 -90 replies
5/6m32r: Move the spi_stack_top and spu_stack_top into .init.data section.arch/m32r/kernel/head.S arch/m32r/kernel/vmlinux.lds.S+2 -40 replies
6/6m32r: Cleanup linker script using new linker script macros.arch/m32r/kernel/vmlinux.lds.S+9 -580 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSam Ravnborg
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6

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

Read the v2 thread

Cover letter [PATCH v2 0/6] Linker script cleanup patches for m32r

This is an updated version of the patch series I sent on September 6 cleaning up the m32r architecture's linker scripts. It differs from V1 in that I moved spi_stack_top and spu_stack_top to .init.data at Hirokazu Takata's request.

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 (6):
m32r: make PAGE_SIZE available to assembly.
m32r: Define THREAD_SIZE only once.
m32r: Move GET_THREAD_INFO definition out of asm/thread_info.h.
m32r: Remove unused .altinstructions and .exit.* code from linker
script.
m32r: Move the spi_stack_top and spu_stack_top into .init.data
section.
m32r: Cleanup linker script using new linker script macros.

 arch/m32r/include/asm/page.h        |    4 +-
 arch/m32r/include/asm/processor.h   |    2 -
 arch/m32r/include/asm/thread_info.h |   15 +------
 arch/m32r/kernel/entry.S            |    7 +++
 arch/m32r/kernel/head.S             |    4 +-
 arch/m32r/kernel/vmlinux.lds.S      |   78 ++++-------------------------------
 6 files changed, 23 insertions(+), 87 deletions(-)