Skip to content

LD_DEAD_CODE_DATA_ELIMINATION fixes and enabling for powerpc

Nicholas Piggin linux-arch linux-kbuild linuxppc-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kbuild: Fix asm-generic/vmlinux.lds.h for LD_DEAD_CODE_DATA_ELIMINATIONinclude/asm-generic/vmlinux.lds.h+29 -200 replies
2/4kbuild: LD_DEAD_CODE_DATA_ELIMINATION no -ffunction-sections/-fdata-sections for module buildMakefile+2 -20 replies
3/4kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectable if enabledarch/Kconfig init/Kconfig+27 -150 replies
4/4powerpc: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectedarch/powerpc/Kconfig arch/powerpc/kernel/vmlinux.lds.S+12 -112 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchChristophe LeroyMathieu MalaterreMichael Ellerman
1/4
2/4
3/4
4/4T-b T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] LD_DEAD_CODE_DATA_ELIMINATION fixes and enabling for powerpc

v2 changes only patch 4, updates the changelog with ppc32 numbers and Tested-by tags, and also use TEXT_MAIN in the linker script as Christophe suggested.

Thanks,
Nick

Nicholas Piggin (4):
kbuild: Fix asm-generic/vmlinux.lds.h for
LD_DEAD_CODE_DATA_ELIMINATION
kbuild: LD_DEAD_CODE_DATA_ELIMINATION no
-ffunction-sections/-fdata-sections for module build
kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectable if
enabled
powerpc: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selected

 Makefile                          |  4 +--
 arch/Kconfig                      | 15 ----------
 arch/powerpc/Kconfig              |  1 +
 arch/powerpc/kernel/vmlinux.lds.S | 22 +++++++-------
 include/asm-generic/vmlinux.lds.h | 49 ++++++++++++++++++-------------
 init/Kconfig                      | 27 +++++++++++++++++
 6 files changed, 70 insertions(+), 48 deletions(-)
Signature · 1 line
2.17.0